Last active
December 11, 2015 19:48
-
-
Save csarven/4650969 to your computer and use it in GitHub Desktop.
tdb.sdmx.ttl
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
Imported data to named graphs into TDB using the following assembler files: | |
tdb.5B0.ttl | |
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . | |
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . | |
tdb:GraphTDB rdfs:subClassOf ja:Model . | |
<#dataset-5B0> rdf:type tdb:DatasetTDB ; | |
tdb:location "/usr/lib/jena/trunk/jena-tdb/DB/5B0" ; | |
tdb:unionDefaultGraph true ; | |
. | |
tdb.CH1.ttl: | |
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . | |
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . | |
tdb:GraphTDB rdfs:subClassOf ja:Model . | |
<#dataset-CH1> rdf:type tdb:DatasetTDB ; | |
tdb:location "/usr/lib/jena/trunk/jena-tdb/DB/CH1" ; | |
tdb:unionDefaultGraph true ; | |
. | |
Used the following assembler to start the Fuseki service: | |
@prefix : <#> . | |
@prefix fuseki: <http://jena.apache.org/fuseki#> . | |
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] rdf:type fuseki:Server ; | |
fuseki:services ( | |
<#service-5B0> | |
<#service-CH1> | |
) . | |
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . | |
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . | |
tdb:GraphTDB rdfs:subClassOf ja:Model . | |
<#service-5B0> rdf:type fuseki:Service ; | |
rdfs:label "TDB Service (RW)" ; | |
fuseki:name "data" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceQuery "sparql" ; | |
fuseki:serviceUpdate "update" ; | |
fuseki:serviceUpload "upload" ; | |
fuseki:serviceReadWriteGraphStore "data" ; | |
fuseki:dataset <#dataset-5B0> ; | |
. | |
<#service-CH1> rdf:type fuseki:Service ; | |
rdfs:label "TDB Service (RW)" ; | |
fuseki:name "data" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceQuery "sparql" ; | |
fuseki:serviceUpdate "update" ; | |
fuseki:serviceUpload "upload" ; | |
fuseki:serviceReadWriteGraphStore "data" ; | |
fuseki:dataset <#dataset-CH1> ; | |
. | |
<#dataset-5B0> rdf:type tdb:DatasetTDB ; | |
tdb:location "/usr/lib/jena/trunk/jena-tdb/DB/5B0" ; | |
tdb:unionDefaultGraph true ; | |
. | |
<#dataset-CH1> rdf:type tdb:DatasetTDB ; | |
tdb:location "/usr/lib/jena/trunk/jena-tdb/DB/CH1" ; | |
tdb:unionDefaultGraph true ; | |
. | |
$ ./fuseki-server --config=../jena-tdb/tdb.sdmx.ttl | |
23:29:46 INFO Config :: Configuration file: ../jena-tdb/tdb.sdmx.ttl | |
23:29:47 INFO Config :: Service: TDB Service (RW) | |
23:29:47 INFO Config :: name = data | |
23:29:47 INFO Config :: query = /data/sparql | |
23:29:47 INFO Config :: query = /data/query | |
23:29:47 INFO Config :: update = /data/update | |
23:29:47 INFO Config :: upload = /data/upload | |
23:29:47 INFO Config :: graphStore(RW) = /data/data | |
23:29:47 INFO Config :: Service: TDB Service (RW) | |
23:29:47 INFO Config :: name = data | |
23:29:47 INFO Config :: query = /data/sparql | |
23:29:47 INFO Config :: query = /data/query | |
23:29:47 INFO Config :: update = /data/update | |
23:29:47 INFO Config :: upload = /data/upload | |
23:29:47 INFO Config :: graphStore(RW) = /data/data | |
23:29:48 INFO Server :: Dataset path = /data | |
23:29:48 INFO Server :: Dataset path = /data | |
23:29:48 INFO Server :: Fuseki 0.2.6-SNAPSHOT 2013-01-26T23:27:48+0100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment