AKSW / jekyll-rdf

📃 A Jekyll plugin to include RDF data in your static site or build a complete site for your RDF graph
http://aksw.org/Projects/JekyllRDF
Other
57 stars 10 forks source link

Support specifying the default Graph for remote endpoints #215

Closed white-gecko closed 5 years ago

white-gecko commented 6 years ago

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

white-gecko commented 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?