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 deletions
—
download
Diffstat
Diff options
+4/-0
R fuseki_base/configuration/dokk.ttl -> fuseki_base/configuration/dokk-multiple-databases.ttl
|
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--
|
|
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 .
|