Rough sparql protocol and result format hack

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 UTC