问题
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
回答1:
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).
来源:https://stackoverflow.com/questions/29779302/querying-a-sesame-triplestore-using-javascript