-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ttl.fuseki3
118 lines (100 loc) · 5.22 KB
/
config.ttl.fuseki3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@prefix : <#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix tdb2: <http://jena.apache.org/2016/tdb#> .
[] rdf:type fuseki:Server ;
# Timeout - server-wide default: milliseconds.
# Format 1: "1000" -- 1 second timeout
# Format 2: "10000,60000" -- 10s timeout to first result, then 60s timeout to for rest of query.
# See java doc for ARQ.queryTimeout
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "10000" ] ;
# ja:loadClass "your.code.Class" ;
fuseki:services (
<#core>
<#concepts>
<#imports>
<#prov>
<#scheme>
) .
# Core service configuration
<#core> rdf:type fuseki:Service ;
fuseki:name "core" ; # http://host:port/search
fuseki:dataset <#core_dataset> ;
fuseki:serviceQuery "sparql" ; # http://host:port/search/sparql?query=...
fuseki:serviceUpdate "update" ; # http://host:port/core/update?query=...
fuseki:serviceReadWriteGraphStore "data" ; # http://host:port/core/data?query=...
fuseki:serviceUpload "upload" ; # http://host:post/core/upload?graph="any"
fuseki:serviceReadGraphStore "get" ; # http://host:post/core/get?graph=default
.
<#core_dataset> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "CORE_TDB" ;
tdb2:unionDefaultGraph true ;
# Query timeout on this dataset (1s, 1000 milliseconds)
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
.
# Concept service configuration
<#concepts> rdf:type fuseki:Service ;
fuseki:name "concept" ; # http://host:port/search
fuseki:dataset <#concept_dataset> ;
fuseki:serviceQuery "sparql" ; # http://host:port/search/sparql?query=...
fuseki:serviceUpdate "update" ; # http://host:port/core/update?query=...
fuseki:serviceReadWriteGraphStore "data" ; # http://host:port/core/data?query=...
fuseki:serviceUpload "upload" ; # http://host:post/core/upload?graph="any"
fuseki:serviceReadGraphStore "get" ; # http://host:post/core/get?graph=default
.
<#concept_dataset> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "CONCEPT_TDB" ;
tdb2:unionDefaultGraph true ;
# Query timeout on this dataset (1s, 1000 milliseconds)
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
.
# imports service configuration
<#imports> rdf:type fuseki:Service ;
fuseki:name "imports" ; # http://host:port/search
fuseki:dataset <#imports_dataset> ;
fuseki:serviceQuery "sparql" ; # http://host:port/search/sparql?query=...
fuseki:serviceUpdate "update" ; # http://host:port/imports/update?query=...
fuseki:serviceReadWriteGraphStore "data" ; # http://host:port/imports/data?query=...
fuseki:serviceUpload "upload" ; # http://host:post/imports/upload?graph="any"
fuseki:serviceReadGraphStore "get" ; # http://host:post/imports/get?graph=default
.
<#imports_dataset> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "IMPORTS_TDB" ;
tdb2:unionDefaultGraph true ;
# Query timeout on this dataset (1s, 1000 milliseconds)
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
.
# prov service configuration
<#prov> rdf:type fuseki:Service ;
fuseki:name "prov" ; # http://host:port/search
fuseki:dataset <#prov_dataset> ;
fuseki:serviceQuery "sparql" ; # http://host:port/prov/sparql?query=...
fuseki:serviceUpdate "update" ; # http://host:port/prov/update?query=...
fuseki:serviceReadWriteGraphStore "data" ; # http://host:port/prov/data?query=...
fuseki:serviceUpload "upload" ; # http://host:post/prov/upload?graph="any"
fuseki:serviceReadGraphStore "get" ; # http://host:post/prov/get?graph=default
.
<#prov_dataset> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "PROV_TDB" ;
tdb2:unionDefaultGraph true ;
# Query timeout on this dataset (1s, 1000 milliseconds)
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
.
# scheme service configuration
<#scheme> rdf:type fuseki:Service ;
fuseki:name "scheme" ; # http://host:port/search
fuseki:dataset <#scheme_dataset> ;
fuseki:serviceQuery "sparql" ; # http://host:port/prov/sparql?query=...
fuseki:serviceUpdate "update" ; # http://host:port/prov/update?query=...
fuseki:serviceReadWriteGraphStore "data" ; # http://host:port/prov/data?query=...
fuseki:serviceUpload "upload" ; # http://host:post/prov/upload?graph="any"
fuseki:serviceReadGraphStore "get" ; # http://host:post/prov/get?graph=default
.
<#scheme_dataset> rdf:type tdb2:DatasetTDB2 ;
tdb2:location "SCHEME_TDB" ;
tdb2:unionDefaultGraph true ;
# Query timeout on this dataset (1s, 1000 milliseconds)
# ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
.