2 Feb 14:58
Query for incoming properties with 4store as a datastore causes SMW/MW to crash
Hello,
On SMW 1.7.0 (using Semantic Bundle from 2012-01-09), MW 1.18.1, and
4store 1.1.4, if I execute the following query (for example):
{{#ask: [[-Has address::+]]
}}
I get an error message like this:
Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message
'SMWExporter::getResourceElementForProperty() can only be used for
user-defined properties.' in
/var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/export/SMW_Exporter.php:229
Stack trace:
#0 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(704):
SMWExporter::getResourceElementForProperty(Object(SMWDIProperty))
#1 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(489):
SMWSparqlStoreQueryEngine->buildPropertyCondition(Object(SMWSomeProperty),
'result', NULL)
#2 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(471):
SMWSparqlStoreQueryEngine->buildSparqlCondition(Object(SMWSomeProperty),
'result', NULL)
#3 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(316):
SMWSparqlStoreQueryEngine->getSparqlCondition(Object(SMWSomeProperty))
#4 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(288):
SMWSparqlStoreQueryEngine->getInstanceQueryResult(Object(SMWQuery))
#5 /var/web/common/elements/extensions/SemanticBundle-2012-01-09/SemanticMediaWiki/includes/SMW_QueryProcessor.php(395):
SMWSparqlStore->getQueryResult(Object(SMWQuery))
(Continue reading)
RSS Feed