Created
October 31, 2012 22:09
-
-
Save crstn/3990276 to your computer and use it in GitHub Desktop.
My Fuseki configuration
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 fuseki: <http://jena.apache.org/fuseki#> . | |
@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 ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] rdf:type fuseki:Server ; | |
fuseki:services ( | |
<#service_hxl> | |
) . | |
# TDB | |
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . | |
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . | |
tdb:GraphTDB rdfs:subClassOf ja:Model . | |
## --------------------------------------------------------------- | |
## Updatable TDB dataset with all services enabled. | |
<#service_hxl> rdf:type fuseki:Service ; | |
rdfs:label "HXL Service" ; | |
fuseki:name "hxl" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceQuery "sparql" ; | |
fuseki:serviceUpdate "update" ; | |
fuseki:serviceUpload "upload" ; | |
fuseki:serviceReadWriteGraphStore "graphstore" ; | |
# A separate read-only graph store endpoint: | |
fuseki:serviceReadGraphStore "get" ; | |
fuseki:dataset <#tdb_dataset_readwrite> . | |
<#tdb_dataset_readwrite> rdf:type ja:RDFDataset ; | |
ja:defaultGraph <#infModel> . | |
<#infModel> a ja:InfModel ; | |
ja:baseModel <#tdbGraph>; | |
ja:reasoner | |
[ja:reasonerURL | |
<http://jena.hpl.hp.com/2003/OWLMiniFBRuleReasoner>]. | |
<#tdbGraph> rdf:type tdb:GraphTDB ; | |
tdb:location "hxl-data" ; | |
tdb:unionDefaultGraph true . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment