Skip to content

Commit 56b3440

Browse files
We should ask for reduced bindings from the remote endpoint by default, to reduce bandwith usage
1 parent 3f0a043 commit 56b3440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdflib/plugins/sparql/evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def _buildQueryStringForServiceCall(ctx, match):
318318
parser.parseQuery(service_query)
319319
except ParseException:
320320
# This could be because we don't have a select around the service call.
321-
service_query = 'SELECT * WHERE {' + service_query + '}'
321+
service_query = 'SELECT REDUCED * WHERE {' + service_query + '}'
322322
for p in ctx.prologue.namespace_manager.store.namespaces():
323323
service_query = 'PREFIX ' + p[0] + ':' + p[1].n3() + ' ' + service_query
324324
# re add the base if one was defined

0 commit comments

Comments
 (0)