Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python / rdflib HTTP server for sparql endpoint

Tags:

sparql

rdflib

Is there a capability for or example of creating a Sparql HTTP endpoint with rdflib? We would want it to follow the spec and be able to return json and/or csv formats. This would mostly be for POC usage. It would also be possible to use Javascript/Node. Thanks!

like image 445
CCVirginia Avatar asked Oct 24 '25 02:10

CCVirginia


1 Answers

You might try https://github.com/rdflib/pyLDAPI. It's been touched much more recently than https://github.com/RDFLib/rdflib-web and there are some public examples of it to follow, e.g. https://geofabricld.net. Also, the SKOS-specific tool VocPrez uses it under the hood.

As of earlier this year, pyLDAPI implements the W3C's Content Negotiation by Profile specification which is, I suppose, the latest an greatest Linked Data API-relevant specification, although it's not just for Linked Data APIs.

Feel free to contact me directly if you need more of a hand with this.

like image 164
Nicholas Car Avatar answered Oct 26 '25 03:10

Nicholas Car