Closed white-gecko closed 5 years ago
As pointed out by @gkellogg your fix, as you have applied it to the pullrequest #80 only works for GET requests. According to https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#query-operation it also works for direct POST requests but not for form-encoded POST requests as they are used by the ruby-rdf/sparql-client per default.
Could you please remove the default-graph part from the pull request #80 and just add the part for:
remote:
endpoint:
And could you try to add the code to ruby-rdf/sparql-client#2 for fixing the issue?
If using the remote sparql endpoint feature, it would be cool to also specify the default graph to be used at this endpoint.
This is currently blocked by https://github.com/ruby-rdf/sparql-client/issues/2