For learning SPARQL it might be useful to have full control over both the query text and the data (RDF triples). While there are many public SPARQL endpoints available their data is typically read-only for obvious reasons. To actively apply SPARQL queries to ones own data, a local triple store might be useful, e.g. for reproducing the examples from https://www.w3.org/TR/rdf-sparql-query/.

However, setting up such an infrastructure with all its dependencies might be complicated.

Question: What is the simplest¹ way to setup a local triple store with SPARQL endpoint on a usual PC?

(¹: The meaning of "simplest" depends on ones system configuration and prior knowledge, which can be reflected by different answers.)

If one has already an up-to-date Python environment, then https://github.com/vemonet/rdflib-endpoint provides a simple solution with only two commands

  • pip install rdflib-endpoint (run once)
  • rdflib-endpoint serve
  • →Access the YASGUI SPARQL editor on http://localhost:8000

However, I am interested which alternative solutions there are.

More Carsten Knoll's questions See All
Similar questions and discussions