W3C home > Mailing lists > Public > public-sparql-dev@w3.org > January to March 2010

Re: Any experimental SPARQL 1.1 endpoints / implementations? query classifiers?

From: Andy Seaborne <andy.seaborne@talis.com>
Date: Mon, 22 Feb 2010 13:18:36 +0000
Message-ID: <4B82842C.6060405@talis.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 February 2010 13:19:10 GMT