diff --git a/fuseki_base/configuration/dokk.ttl b/fuseki_base/configuration/dokk-multiple-databases.ttl similarity index 95% rename from fuseki_base/configuration/dokk.ttl rename to fuseki_base/configuration/dokk-multiple-databases.ttl index e4e476f..863b996 100644 --- a/fuseki_base/configuration/dokk.ttl +++ b/fuseki_base/configuration/dokk-multiple-databases.ttl @@ -1,3 +1,7 @@ +# This is a configuration file for Fuseki if using multiple databases. +# To query the union of all graphs, the quey must be sent to +# https://example.org/endpoint?default-graph-uri=urn:x-arq:UnionGraph' + PREFIX : PREFIX fuseki: PREFIX ja: diff --git a/fuseki_base/configuration/dokk-single-database.ttl b/fuseki_base/configuration/dokk-single-database.ttl new file mode 100644 index 0000000..a37c533 --- /dev/null +++ b/fuseki_base/configuration/dokk-single-database.ttl @@ -0,0 +1,26 @@ +PREFIX : +PREFIX fuseki: +PREFIX ja: +PREFIX rdf: +PREFIX rdfs: +PREFIX tdb1: +PREFIX tdb2: + +:endpoint + # Without a name: /endpoint?query= + # With a name: /endpoint/name/?query= + # fuseki:name "query" ; + fuseki:operation fuseki:query . + +:dataset + rdf:type tdb2:DatasetTDB2 ; + tdb2:location "/home/fuseki/fuseki_base/databases/dokk.tdb2" ; + + # Query timeout on this dataset (1s, 1000 milliseconds) + ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "10000" ] . + +:service + a fuseki:Service ; + fuseki:name "dokk" ; + fuseki:dataset :dataset ; + fuseki:endpoint :endpoint .