Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. @prefix : <http://base/#> .
  2. @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
  3. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
  4. @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
  5. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
  6. @prefix fuseki: <http://jena.apache.org/fuseki#> .
  7.  
  8.  
  9. # Custom code.
  10. [] ja:loadClass "org.apache.jena.tdb.TDB" .
  11.  
  12.  
  13. # TDB
  14. tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
  15. tdb:GraphTDB rdfs:subClassOf ja:Model .
  16.  
  17.  
  18. :service_tdb_all a fuseki:Service ;
  19. rdfs:label "TDB ds" ;
  20. fuseki:dataset <#dataset> ;
  21. fuseki:name "ds" ;
  22. fuseki:serviceQuery "query" , "sparql" ;
  23. fuseki:serviceReadGraphStore "get" ;
  24. fuseki:serviceReadWriteGraphStore
  25. "data" ;
  26. fuseki:serviceUpdate "update" ;
  27. fuseki:serviceUpload "upload" .
  28.  
  29. :tdb_dataset_readwrite
  30. a tdb:DatasetTDB ;
  31. tdb:location "/home/rd/apache-jena-fuseki-2.4.0/run/databases/ds" .
  32.  
  33. <#dataset> rdf:type ja:RDFDataset ;
  34. ja:defaultGraph <#model>
  35. .
  36.  
  37. <#model> a ja:InfModel;
  38. ja:baseModel <#tdbGraph>;
  39. ja:reasoner
  40. [ ja:reasonerURL
  41. <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>]
  42. .
  43.  
  44. <#tdbGraph> rdf:type tdb:GraphTDB;
  45. tdb:dataset :tdb_dataset_readwrite
  46. .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement