config-tdb2 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
  2. PREFIX : <#>
  3. PREFIX fuseki: <http://jena.apache.org/fuseki#>
  4. PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  5. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  6. PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
  7. PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
  8. ## ---------------------------------------------------------------
  9. ## Updatable TDB dataset with all services enabled.
  10. <#service_tdb_all> rdf:type fuseki:Service ;
  11. rdfs:label "TDB2 {NAME}" ;
  12. fuseki:name "{NAME}" ;
  13. fuseki:serviceQuery "query" ;
  14. fuseki:serviceQuery "sparql" ;
  15. fuseki:serviceUpdate "update" ;
  16. fuseki:serviceUpload "upload" ;
  17. fuseki:serviceReadWriteGraphStore "data" ;
  18. # A separate read-only graph store endpoint:
  19. fuseki:serviceReadGraphStore "get" ;
  20. fuseki:dataset <#tdb_dataset_readwrite> ;
  21. .
  22. <#tdb_dataset_readwrite> rdf:type tdb2:DatasetTDB2 ;
  23. tdb2:location "{FUSEKI_BASE}/databases/{NAME}" ;
  24. ##ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "3000" ] ;
  25. ##tdb2:unionDefaultGraph true ;
  26. .