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

example in Section 9 in query 1.1

From: Axel Polleres <axel.polleres@deri.org>
Date: Wed, 24 Mar 2010 16:04:36 +0000
Message-Id: <691F7394-B382-490F-8DE0-78BA3D8741C8@deri.org>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
Just stumbled over something in the last example in Section 9: 

"Example:

SELECT SUM(?val)
WHERE {
?a rdf:value ?val .
} GROUP BY ?a

Becomes Aggregation(?a, {?val}, Sum, BGP(?x rdf:value ?val)).
"

shouldn't this be rather something like:

"
Example:

SELECT SUM(?val) AS ?sum
WHERE {
?a rdf:value ?val .
} GROUP BY ?a

Here, SUM(?val) becomes:
Aggregation(?a, {?val}, Sum, BGP(?a rdf:value ?val)))
"

?

best,
Axel
Received on Wednesday, 24 March 2010 17:31:32 GMT

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