home » zplus/dokk.org.git
Author zPlus <zplus@peers.community> 2024-06-20 07:21:08
Committer zPlus <zplus@peers.community> 2024-06-20 07:21:08
Commit 7be84ef (patch)
Tree 63d9667
Parent(s)

Add example configurations for Fuseki, both for single database and multiple databases.


commits diff: 193c9aa..7be84ef
2 files changed, 30 insertions, 0 deletionsdownload


Diffstat
-rw-r--r-- fuseki_base/configuration/dokk-multiple-databases.ttl 4
-rw-r--r-- fuseki_base/configuration/dokk-single-database.ttl 26

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+4/-0 R   fuseki_base/configuration/dokk.ttl -> fuseki_base/configuration/dokk-multiple-databases.ttl
index e4e476f..863b996
old size: 1K - new size: 1K
@@ -1,3 +1,7 @@
1 + # This is a configuration file for Fuseki if using multiple databases.
2 + # To query the union of all graphs, the quey must be sent to
3 + # https://example.org/endpoint?default-graph-uri=urn:x-arq:UnionGraph'
4 +
1 5 PREFIX : <dokk:configuration:>
2 6 PREFIX fuseki: <http://jena.apache.org/fuseki#>
3 7 PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>

+26/-0 A   fuseki_base/configuration/dokk-single-database.ttl
index 0000000..a37c533
old size: 0B - new size: 909B
new file mode: -rw-r--r--
@@ -0,0 +1,26 @@
1 + PREFIX : <dokk:configuration:>
2 + PREFIX fuseki: <http://jena.apache.org/fuseki#>
3 + PREFIX ja: <http://jena.hpl.hp.com/2005/11/Assembler#>
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 tdb1: <http://jena.hpl.hp.com/2008/tdb#>
7 + PREFIX tdb2: <http://jena.apache.org/2016/tdb#>
8 +
9 + :endpoint
10 + # Without a name: /endpoint?query=
11 + # With a name: /endpoint/name/?query=
12 + # fuseki:name "query" ;
13 + fuseki:operation fuseki:query .
14 +
15 + :dataset
16 + rdf:type tdb2:DatasetTDB2 ;
17 + tdb2:location "/home/fuseki/fuseki_base/databases/dokk.tdb2" ;
18 +
19 + # Query timeout on this dataset (1s, 1000 milliseconds)
20 + ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "10000" ] .
21 +
22 + :service
23 + a fuseki:Service ;
24 + fuseki:name "dokk" ;
25 + fuseki:dataset :dataset ;
26 + fuseki:endpoint :endpoint .