Help:SPARQLStore and Sesame

From Linux Web Expert
SPARQLStore/RepositoryConnector/Sesame
Sesame (RDF4J) access point to the SPARQLStore
Image / Video collection
{{#widget:Vimeo|id=126392433|width=220|height=220 }}
Further Information
Short name: Sesame
Provided by: Semantic MediaWiki
Added: 2.1.0
Removed: still in use
Keyword : RDF · SPARQLStore · Database connector · Sesame · Open-rdf-sesame
Table of 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

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';