Clientside RDF query in javascript

Hi,

I'm working on EARL http://www.w3.org/WAI/ER/#earl and have an EARL
client http://www.e-media.co.uk/earl/  however the client is very dumb,
so the next thing to do is to create a client-side querying of the EARL
in the EARL client (the client is currently IE specific.)  I'm looking at
how much work it would be to have a general purpose RDF query language in
rather than an EARL specific.

I've found:
http://www.w3.org/1999/11/11-WWWProposal/rdfqdemo.html

Which most importantly can't cope with any input formats other than
straight triples - so I wrote a (presumably simplistic) XML-RDF to Triple
conversion - http://www.e-media.co.uk/earl/rdftoys.html (mozilla/IE5+
only as it uses xml httprequest object.) it currently takes the source
RDF from http://www.e-media.co.uk/earl/query.asp?http://www.w3.org/
(hardcoded in the HTML page, you can change it by bringing the page
locally)   It appears to output the same as the RDF Validator so for my
EARL output at least it should be sufficient.

I don't fully see how the rdfqdemo works though, so I'm looking for some
input on how RDF querying should (could?) work.

Jim.

[My read of the archives before posting has incidently left me with
nothing but "EH?" on just about every post, so if you could write in
"implement this" rather than "this is theory" terms it would be
appreciated.]

Received on Wednesday, 5 December 2001 14:27:08 UTC