Created
May 28, 2015 15:15
-
-
Save lmatteis/791ebcb1fc80e88023fe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | |
@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#> . | |
# 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_tdb_all> rdf:type fuseki:Service ; | |
rdfs:label "TDB {NAME}" ; | |
fuseki:name "{NAME}" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceQuery "sparql" ; | |
fuseki:serviceUpdate "update" ; | |
fuseki:serviceUpload "upload" ; | |
fuseki:serviceReadWriteGraphStore "data" ; | |
# A separate read-only graph store endpoint: | |
fuseki:serviceReadGraphStore "get" ; | |
fuseki:dataset <#tdb_dataset_readwrite> ; | |
. | |
<#tdb_dataset_readwrite> rdf:type tdb:DatasetTDB ; | |
tdb:location "{FUSEKI_BASE}/databases/{NAME}" ; | |
ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "3000" ] ; | |
##tdb:unionDefaultGraph true ; | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment