sparqlwrapper
sparqlwrapper copied to clipboard
A wrapper for a remote SPARQL endpoint
Hi, I am getting a lot of test failures when packaging for Arch. It seems this repo didn't get an update since March so I could not verify if it's...
This PR adds the optional params `agent` and `updateEndpoint` to `SPARQLWrapper2`, as well as `agent` to `get_sparql_dataframe`.
Because of the need of more than the 2 standard HEADER-based authentications (BASIC, DIGEST) there is a need of a session based solution. Now the library uses the library requests...
see https://github.com/WolfgangFahl/pyLoDStorage/issues/119 When sending the query ```sparql # Count all Q44613:monastery items # with the given street address(P6375) https://www.wikidata.org/wiki/Property:P6375 PREFIX rdf: PREFIX rdfs: PREFIX schema: PREFIX wd: PREFIX wdt: PREFIX...
I am trying to get the wordnet type for each yago entity but getting the error as query looks like q = """ SELECT ?object WHERE { rdf:type ?object }...
[This logic](https://github.com/RDFLib/sparqlwrapper/blob/master/SPARQLWrapper/Wrapper.py#L1134) returns different representations based on the return format. I think this breaks the abstraction. The reasonable return type in this case would be rdflib's [`Result`](https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.html#rdflib.query.Result). I think the...
While I can request WikiData to return JSON easily on SELECT queries, I cannot do the same for CSV/TSV, it just returns XML and then sparqlwrapper complains it's not in...
I would like to request support for AWS Signature Version 4 (AWS Signature v4) authentication in the SPARQLWrapper library. Currently, SPARQLWrapper provides a convenient way to interact with SPARQL endpoints,...
I'm a complete Python noob and the only way I started using it recently is via ChatGPT to automate some things that are easy to do via Python. It proposes...
I am not understanding the source of this error. Here is a fully functional test code: ``` from SPARQLWrapper import SPARQLWrapper, JSON endpoint = "http://dati.senato.it/sparql" sparql = SPARQLWrapper(endpoint) sparql.setReturnFormat(JSON) #...