sparqlwrapper
sparqlwrapper copied to clipboard
A wrapper for a remote SPARQL endpoint
Added ValueError for invalid select query with RDF return format. Issue 190
This code fails because `RDF` is not a valid response format for a SELECT query: ```python from SPARQLWrapper import SPARQLWrapper, RDF, JSON, XML sparql = SPARQLWrapper('http://ja.dbpedia.org/sparql') sparql.setQuery('select * where {...
I might be missing something, but it seems that the order of ResultRows for a `SELECT *` query is randomized and changing. This is unexpected because other SPARQL engines I...
I might be missing something, but in general, I would expect the order of variables from a SELECT statement to be preserved in, say, `format="txt"`. Instead, they seem to be...
sparqlwrapper requires rdflib >= 6.1.1 I am using a library that uses rdflib6 but intentionally pins to exclude rdflib 6.1.1 https://github.com/hsolbrig/funowl/blob/main/Pipfile The reason for the pinning is that the rdflib...
`convert()` does different things for different formats, as per the code comments in [convert()](https://github.com/RDFLib/sparqlwrapper/blob/master/SPARQLWrapper/Wrapper.py#L958): * *in the case of :data:XML, a DOM top element is returned* * *in the case...
Hello I'm used to use SPARQLWrapper with success. But, today, in my environment, I get the following error Début de run Comment :=>> and I don't understand how tosolve this...
I'm trying to use this library with the latest Python version (3.10.4). There were several changes to TLS settings of Python 3.10 ([Issue43998](https://bugs.python.org/issue43998)) The problem is I'm querying SPARQL endpoint...
According to the RFCs ([1][1], [2][2]), the version is supposed to be separated from the product by a slash, not by a space. [1]: https://datatracker.ietf.org/doc/html/rfc2616#section-3.8 [2]: https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3