rdfstore-js icon indicating copy to clipboard operation
rdfstore-js copied to clipboard

Stand-alone SPARQL end-point- access remotely in javascript

Open mehrdadniknam opened this issue 11 years ago • 2 comments

I could run the rdfstore-js as Stand-alone SPARQL end-point. The example in README file sends a SPARQL query using command line program curl:

curl -v -d "default-graph-uri=http://test.com/graph1" --data-urlencode "query=select * { ?s ?p ?o } limit 3" -H "Accept: application/rdf+xml" http://localhost:8080/sparql

I need to access it remotely using javascript in a browser and not in command line program. The examples in README do not show how to access a remote SPARQL endpoint in javascript; they just show how to create local rdfstores and query them. Can anyone help me on this issue?

mehrdadniknam avatar Nov 06 '13 05:11 mehrdadniknam

I have the same issue, I need an example: to send queries to an existing triple store on the Web to fetch results. Thanks

vivdx avatar Mar 09 '14 22:03 vivdx

LOAD <http://example.org/sparql?query=CONSTRUCT ...>

csarven avatar Oct 22 '14 13:10 csarven