Search code examples
javascriptmapssesame

Querying a Sesame triplestore using JavaScript


I am trying to find out if one can query a graph in Sesame triplestore using JavaScript and extract the result as SPARQL/JSON. I want to extract Lat/Long values and plot on a map using leaflet.js.

The follow up question is at Querying Sesame triplestore using JavaScript


Solution

  • Yes, this is possible. Sesame has a REST API which you can access from JavaScript, and you can request results in multiple formats (including SPARQL/JSON).