W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Rough sparql protocol and result format hack

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Thu, 16 Dec 2004 17:29:52 +0000
To: DAWG public list <public-rdf-dawg@w3.org>
Message-ID: <20041216172952.GF12501@login.ecs.soton.ac.uk>

http://inanna.ecs.soton.ac.uk/~swh/sparql-http/

Only takes 3store-flavoured RDQL queries (a random dialect), and its a
basic PHP implementation, did it to get a feel of the protocol and result
format. I haven't done getGraph (yet).

e.g.
http://inanna.ecs.soton.ac.uk/~swh/sparql-http/?lang=rdql&graph=http%3A%2F%2Flocalhost%2Fstest%2F&query=SELECT+%3Fs+%3Fo+WHERE+%28%3Fs+%3Crdfs%3Alabel%3E+%3Fo%29

or

http://inanna.ecs.soton.ac.uk/~swh/sparql-http/?lang=rdql&graph=http%3A%2F%2Flocalhost%2Fstest%2F&query-uri=http%3A%2F%2Finanna.ecs.soton.ac.uk%2F%7Eswh%2Fsparql-http%2Fexample.rdql

The KB just contains http://www.w3.org/2000/01/rdf-schema#

Source for the wrapper is at
http://inanna.ecs.soton.ac.uk/~swh/sparql-http/wrapper.phps
Don't look if youre offended by hacky code :)

I'l make some comments on things that occured to me tommorow.

- Steve
Received on Thursday, 16 December 2004 17:29:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT