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

RE: Aggregation w/o data?

From: Bryan Thompson <bryan@systap.com>
Date: Tue, 15 Nov 2011 10:00:16 -0600
To: Steve Harris <steve.harris@garlik.com>, "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID: <DE10B00CCE0DC54883734F3060AC9ED454A28CDDE7@AUSP01VMBX06.collaborationhost.net>
Yes, this response answered my query. 

Thanks,
Bryan 

> -----Original Message-----
> From: Steve Harris [mailto:steve.harris@garlik.com] 
> Sent: Tuesday, November 08, 2011 11:12 AM
> To: public-rdf-dawg-comments@w3.org; Bryan Thompson
> Subject: Re: Aggregation w/o data?
> 
> In response to 
> http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2
> 011Sep/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
Received on Tuesday, 15 November 2011 16:02:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 November 2011 16:02:15 GMT