SPARQLStore/RepositoryConnector/Fuseki | |
---|---|
Jena Fuseki access point to the SPARQLStore | |
Image / Video collection | |
Further Information | |
Short name: | Fuseki |
Provided by: | Semantic MediaWiki |
Added: | 2.0.0 |
Removed: | still in use |
Keyword : | RDFRDF · SPARQLStoreSPARQLStore · Database connectorDatabase connector · JenaJena · Jena FusekiJena Fuseki · FusekiFuseki |
Table of Contents | |
Contents |
Jena Fuseki is supported starting with Semantic MediaWiki 2.0.0 and has been integrated into SMW's continues integration environment. It is recommended to use the following settings (also used during testing):
Configuration[edit]
$smwgDefaultStore = 'SMWSparqlStore';
$smwgSparqlRepositoryConnector = 'fuseki';
$smwgSparqlEndpoint["query"] = 'http://localhost:3030/db/query';
$smwgSparqlEndpoint["update"] = 'http://localhost:3030/db/update';
$smwgSparqlEndpoint["data"] = '';
# Optional name of default graph
$smwgSparqlDefaultGraph = 'http://example.org/mydefaultgraphname';
The above configuration assumes that a dataset called "db" exists in Fuseki. So you first need to use "add dataset" in the "manage dataset" tab of Fuseki and add a dataset called "db". In a Tomcat related installation, the ports to use may be :8080 instead of :3030
Starting Fuseki[edit]
- With a persistent DB
fuseki-server.bat --update --port=3030 --loc=<database location> /db
- With a in-memory DB
fuseki-server.bat --update --port=3030 --mem /db
- With a in-memory DB and a union default graph1
fuseki-server.bat --update --port=3030 --memTDB --set tdb:unionDefaultGraph=true /db
See also[edit]
References
- ^ Union Default Graph to "... specify that the default graph for query is the union of the named graphs. This is done by adding tdb:unionDefaultGraph ..."