$smwgSparqlRepositoryConnector

From Linux Web Expert


Template:Interlanguagelink: en
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)

Setting (connector)DescriptionHelp pageSince
DefaultDefault access point to the SPARQLStoreHelp:SPARQLStore (default)1.6.0
VirtuosoVirtuoso access point to the SPARQLStoreHelp:SPARQLStore and Virtuoso1.7.1
4store4store access point to the SPARQLStoreHelp:SPARQLStore and 4store2.0.0
CustomCustom access point to the SPARQLStoreHelp:SPARQLStore (custom)2.0.0
FusekiJena Fuseki access point to the SPARQLStoreHelp:SPARQLStore and Fuseki2.0.0
SesameSesame (RDF4J) access point to the SPARQLStoreHelp:SPARQLStore and Sesame2.1.0
BlazegraphBlazegraph access point to the SPARQLStoreHelp:SPARQLStore and Blazegraph2.3.0
The settings are case-insensitive.

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:

If you change the setting for this configuration parameter, please ensure to run maintenance script "setupStore.php"No description was provided. followed by maintenance script "rebuildData.php"No description was provided..


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 $smwgSparqlCustomConnectorDefines 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 $smwgSparqlCustomConnectorDefines the SPARQL custom database connectors, which can change in future releases without further notice.

See also

#scite could not render a citation text for reference "gh:smw:2752" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:2768" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:2752 
  2. ^ gh:smw:2768