ldodds mentioned the existence of a JavaScript SPARQL engine, but some old pages point to an old page which is now hijacked by a spam company. Clearly, I can use a SPARQL service (as here), but that requires special tricks.

asked 28 Sep '10, 06:08

Egon%20Willighagen's gravatar image

Egon Willigh...
accept rate: 12%

edited 28 Sep '10, 06:18

You may want to have a look at the rdflib.js and other JavaScript libraries used in the Tabulator's source code, which seems to be most up-to-date. There's also RDFQuery for querying RDFa data directly from JavaScript and some pretty old JS parser and query thingy.

permanent link

answered 28 Sep '10, 09:58

jindrichm's gravatar image

accept rate: 30%

Now, rdfstore-js by Antonio Garrote (https://github.com/antoniogarrote/rdfstore-js) is probably the best way to go if you want a SPARQL engine that implemented in JavaScript.

(11 Jan '13, 05:17) jindrichm jindrichm's gravatar image

Well, searching for javascript sparql I found Hercules. Actually your aformentioned page contains a working link to sparql js library code sparql.js.

Hope this helps.

permanent link

answered 28 Sep '10, 07:01

Remon%20Georgy's gravatar image

Remon Georgy
accept rate: 42%


The Hercules webpage mentions "GRAPH is not supported yet. Use HttpXmlRequest?" and pulling RDF from other pages was kind of the point. Still, thanx for the pointer! And that linked sparql.js, unfortunately, is indeed JavaScript, but just uses an external server (sparql.org) instead of being a SPARQL engine itself...

(28 Sep '10, 08:05) Egon Willigh... Egon%20Willighagen's gravatar image
permanent link

answered 11 Jan '13, 05:42

Luca%20Matteis's gravatar image

Luca Matteis
accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Sep '10, 06:08

question was seen: 5,958 times

last updated: 11 Jan '13, 05:42