home » zplus/dokk.org.git
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 deletiondownload


Diffstat
-rwxr-xr-x app.py 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+1/-1 M   app.py
index d896fb6..fbad831
old size: 9K - new size: 9K
@@ -26,7 +26,7 @@ def query(query_string, jsonld_frame=None):
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()