Help:SPARQLStore and 4store

From semantic-mediawiki.org
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 : RDFRDF · SPARQLStoreSPARQLStore · Database connectorDatabase connector · 4store4store
Table of Contents

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[edit]

$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 30 July 2011 and compatible with MW 1.15.x - 1.18.x.. 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.