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 
http://www.w3.org/2009/sparql/docs/tests/data-sparql11/grouping/

Axel
Received on Wednesday, 3 August 2011 14:24:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:46 GMT