- From: Dan Brickley <danbri@danbri.org>
- Date: Fri, 19 Feb 2010 11:20:06 +0100
- To: public-sparql-dev@w3.org
- Cc: Alejandra García Rojas Martínez <alegrm@gmail.com>
Hi folks Discussing the examples in http://ukwebfocus.wordpress.com/2010/02/19/response-to-my-linked-data-challenge/ which use facilities beyond SPARQL 1.0, I'd love to know if there are any tentative 1.1 implementations out there, or any utilities that can help classify a query to say how 'standard' it is, whether the constructs it uses are already standard, proposed as standard, similar to draft standards, etc. Here (below) is an example query (which currently runs nicely on DBpedia). How can we find out easily whether it is well-alligned with the current 1.1 draft? Does anyone have an implemention or endpoint? Am Cc:'ing Alejandra García Rojas Martínez who created the query I guess by trial and error against DBpedia... cheers, Dan prefix dbpedia-owl: prefix dbpedia-owl-uni: prefix dbpedia-owl-inst: select ?town count(?uni) ?pgrad ?ugrad max(?population) (( (?pgrad+?ugrad)/ max(?population))*100) as ?percentage where { ?uni dbpedia-owl-inst:country dbpedia:United_Kingdom ; dbpedia-owl-uni:postgrad ?pgrad ; dbpedia-owl-uni:undergrad ?ugrad ; dbpedia-owl-inst:city ?town. optional {?town dbpedia-owl:populationTotal ?population . FILTER (?population > 0 ) } } group by ?town ?pgrad ?ugrad having( (((?pgrad+?ugrad)/ max(?population) )*100) > 0) order by desc 6
Received on Friday, 19 February 2010 10:20:39 UTC