semantic-mediawiki.org


● General 

●Semantic MediaWiki

●Introduction

●Getting support

●Community portal

●Open Semantic Data Association

●SMWCon

●Recent changes
 


● Users 

●Manual

●Getting started

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Admini­strators 

●Manual

●Store and search environment

●Features and supplementary functions

●Installation

●Configuration

●Maintenance

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Devel­opers 

●Manual

●Source code

●Code documentation

●Report a bug

●Sandbox wiki

●MediaWiki
 


● ?

●Getting support

●Frequent questions

●Missing content

●Missing translation

●Found an error
 




● ...  

●Discussion
 
●View source

●History
 








●Log in

●Request account
 

















Help:SPARQLStore and Fuseki

 
From semantic-mediawiki.org
 
< SPARQLStore‎ | RepositoryConnector
Using SPARQL and RDF storesSPARQLStoreSPARQLStore/RepositoryConnectorHelp:SPARQLStore and Fuseki
Jump to:navigation, search
 

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

  • 1 Configuration
  • 2 Starting Fuseki
  • 3 See also

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]

  • Getting started With Fuseki

References

  1. ^  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 ..."

Retrieved from "https://www.semantic-mediawiki.org/w/index.php?title=Help:SPARQLStore/RepositoryConnector/Fuseki&oldid=81950"
 

Categories: 
●Functional classes
●Semantic MediaWiki documentation
 












●What links here

●Related changes

●Special pages

●Printable version

●Permanent link

●Page information

●Cite this page

●Browse properties
 













●This page was last edited on 17 December 2021, at 00:00.

●Content is available under "Attribution 3.0 Germany" (CC BY 3.0 DE) unless otherwise noted.
 














●Privacy policy

●About <semantic-mediawiki.org> (Imprint)

●Disclaimers
 




"Attribution 3.0 Germany" (CC BY 3.0 DE)
Powered by MediaWiki
Powered by Semantic MediaWiki