From f8930ea0c990b893e210c08f6c69755d8578879c Mon Sep 17 00:00:00 2001 From: zPlus Date: Sun, 19 Nov 2023 10:12:38 +0100 Subject: [PATCH] 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 " --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index d896fb6..fbad831 100755 --- a/app.py +++ b/app.py @@ -26,7 +26,7 @@ def query(query_string, jsonld_frame=None): """ http_request = requests.post( - 'http://dokk:7000/dokk', + 'http://dokk:7000/dokk?default-graph-uri=urn:x-arq:UnionGraph', data = { 'format': 'json', 'query': query_string}) results = http_request.json()