antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
564 stars 109 forks source link

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

Open mehrdadniknam opened 10 years ago

mehrdadniknam commented 10 years ago

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?

vivdx commented 10 years ago

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

csarven commented 9 years ago

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