Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @prefix : <http://base/#> .
- @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
- @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
- @prefix fuseki: <http://jena.apache.org/fuseki#> .
- # Custom code.
- [] ja:loadClass "org.apache.jena.tdb.TDB" .
- # TDB
- tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
- tdb:GraphTDB rdfs:subClassOf ja:Model .
- :service_tdb_all a fuseki:Service ;
- rdfs:label "TDB ds" ;
- fuseki:dataset <#dataset> ;
- fuseki:name "ds" ;
- fuseki:serviceQuery "query" , "sparql" ;
- fuseki:serviceReadGraphStore "get" ;
- fuseki:serviceReadWriteGraphStore
- "data" ;
- fuseki:serviceUpdate "update" ;
- fuseki:serviceUpload "upload" .
- :tdb_dataset_readwrite
- a tdb:DatasetTDB ;
- tdb:location "/home/rd/apache-jena-fuseki-2.4.0/run/databases/ds" .
- <#dataset> rdf:type ja:RDFDataset ;
- ja:defaultGraph <#model>
- .
- <#model> a ja:InfModel;
- ja:baseModel <#tdbGraph>;
- ja:reasoner
- [ ja:reasonerURL
- <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>]
- .
- <#tdbGraph> rdf:type tdb:GraphTDB;
- tdb:dataset :tdb_dataset_readwrite
- .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement