Jump to: navigation, search
Title $smwgSparqlDefaultGraph
Description Sets the identifier (graph) of the SPARQL database.
Default setting
Software Semantic MediaWiki
Introduced with 1.7.0
Deprecated with still available
Configuration Store settings
Keyword SPARQLStore · Store · RDF · SPARQL
Referenced by N/A

$smwgSparqlDefaultGraph is a configuration parameter that is used to set the identifier (graph) of the the semantic update store (SPARQL database). The parameter was introduced in Semantic MediaWiki 1.6.0.

Default setting

  • '' - name of default graph (optional)

The default graph is similar to a database name in relational databases. It can be set to any URI, e.g. the main page URI of your wiki with "#graph" appended. Leaving the default graph URI empty only works if the store is configure to use some default default graph or if it generally supports this. Different wikis should normally use different default graphs unless there is a good reason to share one graph.

Supported SPARQL stores

See also

This documentation page applies to all SMW versions from 1.7.0 to the most current version.

Help:$smwgSparqlDefaultGraph en 1.7.0