Author
|
zPlus <zplus@peers.community>
2023-11-19 09:12:38
|
Committer
|
zPlus <zplus@peers.community>
2023-11-19 09:12:38
|
Commit
|
f8930ea
(patch)
|
Tree
|
0aa50cc
|
Parent(s)
|
|
Add default-graph-uri=urn:x-arq:UnionGraph to endpoint URL.
The graph has been split into multiple datasets for manageability. In
Fuseki it's not currently possible to configure it in a way to execute
queries over the union of multiple datasets by default. The only viable
options are:
- add ?default-graph-uri=urn:x-arq:UnionGraph to the endpoint URL, or
- query the special graph "SELECT .. FROM <urn:x-arq:UnionGraph>"
commits diff:
07d3715..f8930ea
1 file changed,
1 insertion,
1 deletion
—
download
Diffstat
Diff options
+1/-1
M app.py
26
|
26
|
|
"""
|
27
|
27
|
|
|
28
|
28
|
|
http_request = requests.post(
|
29
|
|
- |
'http://dokk:7000/dokk',
|
|
29
|
+ |
'http://dokk:7000/dokk?default-graph-uri=urn:x-arq:UnionGraph',
|
30
|
30
|
|
data = { 'format': 'json', 'query': query_string})
|
31
|
31
|
|
|
32
|
32
|
|
results = http_request.json()
|