Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
$smwgSparqlRepositoryConnector
(Redirected from Help:$smwgSparqlDatabaseConnector)
Configuration parameter details: | |
Name | $smwgSparqlRepositoryConnector |
Description | Identifies a database connector that ought to be used together with the semantic data store. |
Default setting | default |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Store settings |
Keyword | sparqlstore · store · sparql |
__NOBREADCRUMBLINKS__
$smwgSparqlRepositoryConnector
is a configuration parameter that is used to identifies a database connector that ought to be used together with the semantic data store when using a SPARQL database. The configuration parameter was introduced in Semantic MediaWiki 2.0.0Released on an unknown date unknown versions of MediaWiki. Prior to Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki it was called $smwgSparqlDatabaseConnector
.1 Moreover the default setting was changed to "default" in Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki.2 See this version of the documentation available for releases prior to Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki.
Default setting
$smwgSparqlRepositoryConnector = 'default';
This means that a generic setup for the database backend will be used.
Available settings (connectors)
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Change to a "Blazegraph" sparql database as data backend
$smwgSparqlRepositoryConnector = 'blazegraph';
- Change to a "Custom" sparql database as data backend
$smwgSparqlRepositoryConnector = 'custom';
→ This value used to be set as a legacy setting until Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki to allow for existing wikis using SPARQL stores setup prior to Semantic MediaWiki 2.0.0Released on an unknown date unknown versions of MediaWiki to work without changes. In case this setting maintained, configuration parameter $smwgSparqlCustomConnector
Defines the SPARQL custom database connectors must be set to contain the name of a custom class connector.
→ It is strongly recommended to assign the necessary connector to this parameter to one of the predefined settings in order to avoid arbitrary class assignments in configuration parameter $smwgSparqlCustomConnector
Defines the SPARQL custom database connectors, which can change in future releases without further notice.
See also
- Help page on Using SPARQL and RDF stores
- Help page on configuration parameter
$smwgDefaultStore
Sets the storage backend to be used for the semantic data - Help page on configuration parameter
$smwgSparqlCustomConnector
Defines the SPARQL custom database connectors - Help page on configuration parameter
$smwgSparqlQueryEndpoint
Sets the endpoint for querying the SPARQL database - Help page on configuration parameter
$smwgSparqlDataEndpoint
Sets the endpoint for data on the SPARQL database - Help page on configuration parameter
$smwgSparqlDefaultGraph
Sets the identifier (graph) of the SPARQL database - Help page on configuration parameter
$smwgSparqlRepositoryConnectorForcedHttpVersion
No description was provided. - Help page on configuration parameter
$smwgQuerySources
No description was provided.