RDFLib / rdflib

RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
https://rdflib.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.18k stars 558 forks source link

API for SPARQL 1.1 Graph Store HTTP Protocol #2214

Open eroux opened 1 year ago

eroux commented 1 year ago

Unless I'm mistaken, there is currently no support in RDF for the querying a SPARQL 1.1 Graph Store HTTP Protocol endpoint. I think this API is very elegant and straightforward and it's the one I usually use in Java. This is probably relatively easy to implement and it would be very helpful I think

aucampia commented 1 year ago

This certainly would be useful to have, would be happy to receive pull requests for this, but it may be best to start out with some discussion on how to implement it.

eroux commented 1 year ago

I think it's just a matter of sending a ttl serialization on the right URL with the right header