W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2011

grouping test coverage... added a test case

From: Axel Polleres <axel.polleres@deri.org>
Date: Wed, 3 Aug 2011 16:24:12 +0200
Message-Id: <46BC325B-AFC5-4F8C-9D68-FA423C009A5B@deri.org>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
Raphael Troncy just pointed me to a test case for group, which I didn't find covered in the test suite:

prefix lode: <http://linkedevents.org/ontology/>
prefix dc: <http://purl.org/dc/elements/1.1/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

select ?event ?eventName ?venue ?photo
where {
   ?photo lode:illustrate ?event .
   select ?event ?eventName ?venue
   where {
         ?event dc:title ?eventName .
         ?event lode:atPlace ?venue .
         ?venue rdfs:label "Live Music Hall" .
GROUP BY ?event

according to http://www.w3.org/TR/sparql11-query/#aggregateRestrictions this is not allowed.
I added this one and a simplified version of it as group06 and group07 respectively in 

Received on Wednesday, 3 August 2011 14:24:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:04 UTC