Last active
August 29, 2015 14:16
-
-
Save TimmyStorms/bc2014756dcec8b6b814 to your computer and use it in GitHub Desktop.
Fuseki configuration for Stardog & TDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix : <#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
@prefix fuseki: <http://jena.apache.org/fuseki#> . | |
@prefix text: <http://jena.apache.org/text#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] rdf:type fuseki:Server ; | |
ja:loadClass "package.StardogInitializer" ; | |
fuseki:services ( | |
<#service1> | |
) . | |
# TDB | |
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . | |
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . | |
tdb:GraphTDB rdfs:subClassOf ja:Model . | |
<#service1> rdf:type fuseki:Service ; | |
rdfs:label "TDB Service (R)" ; | |
fuseki:name "ds" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceReadWriteGraphStore "data" ; | |
fuseki:serviceReadGraphStore "get" ; | |
fuseki:dataset <#dataset> ; | |
. | |
<#dataset> rdf:type tdb:DatasetTDB ; | |
tdb:location "${tdb.location}" ; | |
tdb:unionDefaultGraph true ; | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment