-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-federation.ttl
106 lines (97 loc) · 2.89 KB
/
config-federation.ttl
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
##
## Copyright (c) 2021-2022 T-Systems International GmbH (Catena-X Consortium)
##
## See the AUTHORS file(s) distributed with this work for additional
## information regarding authorship.
##
## See the LICENSE file(s) distributed with this work for
## additional information regarding license terms.
##
##
## Standalone config for a non-connector enabled SPARQL federation scenario
##
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 ;
fuseki:services (
:hub
:registry
) .
## Service description for "/hub"
## with a TDB2 dataset
:hub rdf:type fuseki:Service ;
fuseki:name "hub" ;
fuseki:endpoint [
fuseki:operation fuseki:query ;
fuseki:name "sparql" ;
## Set default-union-graph for this endpoint.
ja:context [ ja:cxtName "tdb:unionDefaultGraph" ; ja:cxtValue true ] ;
] ;
fuseki:endpoint [
fuseki:operation fuseki:query ;
fuseki:name "query"
] ;
fuseki:endpoint [
fuseki:operation fuseki:update ;
fuseki:name "update"
] ;
fuseki:endpoint [
fuseki:operation fuseki:gsp-r ;
fuseki:name "get"
] ;
fuseki:endpoint [
fuseki:operation fuseki:gsp-rw ;
fuseki:name "data"
] ;
fuseki:endpoint [
fuseki:operation fuseki:upload ;
fuseki:name "upload"
] ;
fuseki:dataset :hub_tdb2 ;
.
## Service description for "/registry"
## with a TDB2 dataset
:registry rdf:type fuseki:Service ;
fuseki:name "registry" ;
fuseki:endpoint [
fuseki:operation fuseki:query ;
fuseki:name "sparql" ;
## Set default-union-graph for this endpoint.
ja:context [ ja:cxtName "tdb:unionDefaultGraph" ; ja:cxtValue true ] ;
] ;
fuseki:endpoint [
fuseki:operation fuseki:query ;
fuseki:name "query"
] ;
fuseki:endpoint [
fuseki:operation fuseki:update ;
fuseki:name "update"
] ;
fuseki:endpoint [
fuseki:operation fuseki:gsp-r ;
fuseki:name "get"
] ;
fuseki:endpoint [
fuseki:operation fuseki:gsp-rw ;
fuseki:name "data"
] ;
fuseki:endpoint [
fuseki:operation fuseki:upload ;
fuseki:name "upload"
] ;
fuseki:dataset :registry_tdb2 ;
.
:hub_tdb2 rdf:type tdb2:DatasetTDB2 ;
tdb2:location "target/central/hub" ;
## Optional - with union default for query and update WHERE matching.
## tdb2:unionDefaultGraph true ;
.
:registry_tdb2 rdf:type tdb2:DatasetTDB2 ;
tdb2:location "target/central/registry" ;
## Optional - with union default for query and update WHERE matching.
## tdb2:unionDefaultGraph true ;
.