CommentResponse:BT-2

From SPARQL Working Group
Jump to: navigation, search

In response to http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2011Sep/0000.html

> 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

An empty solution set.

Please indicate whether this response has answered your query.

Steve, on behalf of the SPARQL Working Group