JSON cross-site Queries

Just a short note that I have implemented a SPARQL Query proxy returning JSON. The proxy may be found at /sparqs/proxy/ and is able to query a different number of Joseki Servers. This is very basic but gives freedom to query off-site datasets.

Currently enabled datasets:

  • apassant.net – Alex’s Joseki
  • sparql.captsolo.net – CaptSolo’s Joseki
  • b4eg.mine.nu – B:\datenbrei development Joseki

Try [this][2]!

[2]: http://b4mad.net/sparqs/proxy/?host=b4eg.mine.nu&ds=sioc&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0APREFIX+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+geo%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2003%2F01%2Fgeo%2Fwgs84_pos%23%3E%0D%0APREFIx+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0A%0D%0ASELECT+DISTINCT+%3Fname+%3Fother_name+%3Fgroup+%3Fdescription+%3Fsha1+%3Flat+%3Flong%0D%0AWHERE+%7B%0D%0A++%3Fx+a+sioc%3AUser+.%0D%0A++%3Fx+sioc%3Aname+%3Fname+.%0D%0A++%3Fu+sioc%3Ahas_member+%3Fx+.%0D%0A++OPTIONAL+%7B+%3Fu+sioc%3Aname+%3Fgroup++%7D+.%0D%0A++OPTIONAL+%7B+%3Fu+sioc%3Adescription+%3Fdescription+%7D+.%0D%0A++%3Fx+sioc%3Aemail_sha1sum+%3Fsha1+.%0D%0A++%3Fperson+foaf%3Ambox_sha1sum+%3Fsha1+.%0D%0A++%3Fperson+foaf%3Aname+%3Fother_name+.%0D%0A++%3Fperson+foaf%3Abased_near+%3Fpoint+.%0D%0A++%3Fpoint+geo%3Alat+%3Flat+.%0D%0A++%3Fpoint+geo%3Along+%3Flong+.%0D%0A%7D