Help:SPARQLStore and 4store

From Linux Web Expert

Revision as of 02:34, 21 April 2020 by >Kghbln (chg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SPARQLStore/RepositoryConnector/4store
4store access point to the SPARQLStore
Further Information
Short name: 4store
Provided by: Semantic MediaWiki
Added: 2.0.0
Removed: still in use
Keyword : RDF · SPARQLStore · Database connector · 4store
Table of Contents

For example, a typical default location for the SPARQL query web service ("endpoint") of 4Store on a local machine might be http://localhost:8080/sparql/.

Users of 4store should use the following settings:

Configuration

$smwgDefaultStore = 'SMWSparqlStore';
$smwgSparqlRepositoryConnector = '4store';                             # using 4Store as connector

$smwgSparqlEndpoint["query"] = 'http://localhost:8080/sparql/';        # location of query service
$smwgSparqlEndpoint["update"] = 'http://localhost:8080/update/';       # location of update service
$smwgSparqlEndpoint["data"] = '';                                      # location of SPARQL

# Optional name of default graph
$smwgSparqlDefaultGraph = 'http://example.org/mydefaultgraphname';

4store is available since Semantic MediaWiki 1.6.0Released on an unknown date unknown versions of MediaWiki. This ensures that 4Stores soft limit feature is used for restricting the resources needed in query answering. Moreover, the protocol used for the data endpoint (if configured) is specific to 4store. It is recommended to use this feature, since it is more efficient for writing.