example in Section 9 in query 1.1

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 UTC