Help:SPARQLStore and Sesame

From semantic-mediawiki.org
SPARQLStore/RepositoryConnector/Sesame
Sesame (RDF4J) access point to the SPARQLStore
Image / Video collection
Further Information
Short name: Sesame
Provided by: Semantic MediaWiki
Added: 2.1.0
Removed: still in use
Keyword : RDFRDF · SPARQLStoreSPARQLStore · Database connectorDatabase connector · SesameSesame · Open-rdf-sesameOpen-rdf-sesame
Table of Contents

Contents

Sesame (RDF4J) is supported starting with Semantic MediaWiki 2.1.0. It is recommended to use the following settings (also used during testing):

Configuration[edit]

It uses the generic database connector where the endpoint is redirect to a specific repository (example uses SYSTEM repository).

$smwgDefaultStore = 'SMWSparqlStore';
$smwgSparqlRepositoryConnector = 'sesame';

$smwgSparqlEndpoint["query"] = 'http://localhost:8080/openrdf-sesame/repositories/SYSTEM';
$smwgSparqlEndpoint["update"] = 'http://localhost:8080/openrdf-sesame/repositories/SYSTEM/statements';
$smwgSparqlEndpoint["data"] = '';

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