Help:Configuration parameter "$smwgSparqlQFeatures"
|Description||Defines the SPARQL query features that are expected to be supported by the repository of the identifier (graph) of the SPARQL database.|
|Introduced with version||2.3.0|
|Removed with version||still available|
|Keyword||SPARQLStore · Store · RDF · SPARQL · Query features · Query performance|
$smwgSparqlQFeatures is a configuration parameter that is used to define the SPARQL query features that are expected to be supported by the repository of the identifier (graph) of the SPARQL database. The parameter was introduced in Semantic MediaWiki 2.3.0.
$GLOBALS['smwgSparqlQFeatures'] = SMW_SPARQL_QF_REDI | SMW_SPARQL_QF_SUBP | SMW_SPARQL_QF_SUBC;
Changing the default setting
If your repository provider does not fully support SPARQL 1.1 the default setting should be changed in your "LocalSettings.php" file to
$smwgSparqlQFeatures = SMW_SPARQL_QF_NONE;
Available setting constants
SMW_SPARQL_QF_NONE- the SPARQL database does not support any features as required by SPARQL 1.1 (e.g. Virtuoso 6.1 or 4Store Current: May 2015)
SMW_SPARQL_QF_REDI- the SPARQL database supports finding redirects using inverse property paths (can only be used for repositories with full SPARQL 1.1 support (e.g. Fuseki or Sesame Current: May 2015)
SMW_SPARQL_QF_SUBP- the SPARQL database supports resolving subproperties
SMW_SPARQL_QF_SUBC- the SPARQL database supports resolving resolve subcategories
- See issue 467 for further information on this.
Help:$smwgSparqlQFeatures en 2.3.0