- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Mon, 23 Aug 2010 11:31:10 +0100
- To: Axel Polleres <axel.polleres@deri.org>
- CC: SPARQL Working Group <public-rdf-dawg@w3.org>
The results for agg05/06 are agg04.srx and add07 is agg0-5.srx. Looks
wrong and fails.
If I change them to agg05.srx etc, I get the suite to pass. I have
checked in changes to manifest.ttl.
But: observation: agg06.rq
------------------------------------------
PREFIX : <http://www.example.org>
SELECT ?P (COUNT(*) AS ?C)
WHERE { ?S ?P ?O }
HAVING (COUNT(*) > 0 )
------------------------------------------
uses non-group key variable ?P in the SELECT line.
In ARQ, this results in, effectively, a new ?P (it's a different scope -
the use in the group is hidden because only variable from the group key
are in-scope and the mention of ?P in the SELECT line is a new,
different ?P and is hence unbound).
Andy
On 23/08/2010 12:44 AM, Axel Polleres wrote:
> I committed some initial aggregates test cases for COUNT, including some on COUNT(*).
> Particularly agg06 covers:
>
> SELECT (COUNT(*) AS ?C) .... HAVING (COUNT(*)> 0 )
>
> as proposed in ACTION-210.
>
> Please check [1]. I still need to verify and include the aggregates test cases from
> my earlier mail [2].
>
> Axel
>
> 1. http://www.w3.org/2009/sparql/docs/tests/data-sparql11/aggregates/
> 2. http://lists.w3.org/Archives/Public/public-rdf-dawg/2010JanMar/0609.html
Received on Monday, 23 August 2010 10:31:52 UTC