- From: Andy Seaborne <andy.seaborne@talis.com>
 - Date: Mon, 22 Feb 2010 13:18:36 +0000
 - To: Dan Brickley <danbri@danbri.org>
 - CC: public-sparql-dev@w3.org, Alejandra García Rojas Martínez <alegrm@gmail.com>
 
These are not formally SPARQL 1.1 services but they may help:
sparql.org executes SPARQL 1.1 ish queries.
The validator
http://www.sparql.org/validator.html
has "SPARQL" and "SPARQL extended syntax", which is 1.1-ish (and LET).
> 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 {
The select expressions will need AS in the final SPARQL 1.1 spec.
( ((?pgrad+?ugrad)/ max(?population))*100 as ?percentage)
> ?uni dbpedia-owl-inst:country dbpedia:United_Kingdom ;
dbpedia: not defined!
> 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
What's that?  Was 6 col 6 i.e. ?percentage
	Andy
Received on Monday, 22 February 2010 13:19:10 UTC