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

Aggregation w/o data?

From: Bryan Thompson <bryan@systap.com>
Date: Wed, 7 Sep 2011 08:17:54 -0500
To: "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID: <DE10B00CCE0DC54883734F3060AC9ED454013D85BA@AUSP01VMBX06.collaborationhost.net>
What is the output of this query if no solutions satisify the WHERE clause?  An empty solution set or a solution set with a single solution having a binding of 0^^xsd:integer?

PREFIX : <http://example/>
SELECT (SUM(?lprice) AS ?totalPrice)
WHERE {
  ?book :price ?lprice .
}
GROUP BY ?book

Thanks,
Bryan
Received on Wednesday, 7 September 2011 13:18:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 September 2011 13:18:42 GMT