Friday, March 24, 2006


In the last 5 months I have been working on an implementation of a SPARQL processor in PHP. SPARQL is W3C's latest RDF query language, which means it allows you to retrieve information from RDF files, which are the basis of the 'semantic web'. The process is somewhat similar to the use of SQL to query a database, except of course that the structure of the data is different. A working, though (very) buggy, version is available from my server. I implemented the entire specification, except for some points that are unclear to me.

I created some (54) testcases to test the processor. W3C is currently still working on the official testcases. They are written in another (relatively simple) language called N3. Maybe I will write an N3 interpreter later to run the testcases.

Other SPARQL implementations may be found here.