30 Jul
2006
30 Jul
'06
7:41 p.m.
I've used Joseki to put up a SPARQL interface to querying the Oxford OpenGuides RDF at http://surguy.net/joseki/query.html e.g. PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> SELECT ?title ?lat ?long WHERE { ?place dc:subject 'Pubs' . ?place dc:title ?title . ?place geo:lat ?lat . ?place geo:long ?long } to find the latitude and longitude of all the pubs. It will return XML, formatted text, or JSON. The data is from a spider of the site that I did today - I've got the code to keep it up-to-date from Recent Changes, but I haven't hooked it in yet. I probably will in the next few days. Cheers Inigo