W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2009

Re: example query on aggregates in SPARQL/Query Section 2

From: Birte Glimm <birte.glimm@comlab.ox.ac.uk>
Date: Fri, 6 Nov 2009 22:04:26 +0000
Message-ID: <492f2b0b0911061404p59bdaea7qa608c1637908abc6@mail.gmail.com>
To: Axel Polleres <axel.polleres@deri.org>
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
Sorry, me getting the numbers wrong...


I wanted to ue 10 as price first, but then I chaned my mind to take
price 20 in order to not get caught up with the havig clause, but I
didn't update all values :-(

It should be:

?org ?auth    ?book  ?lprice
:aff1  :auth1  :book1  20
:aff1  :auth2  :book1  20

totalprice
------------
40

Birte


2009/11/6 Axel Polleres <axel.polleres@deri.org>:
> How do you get to lprice 10 here suddenly?
>
> Axel
>
> On 5 Nov 2009, at 14:39, Birte Glimm wrote:
>
>> because before grouping I have
>> ?org ?auth    ?book  ?lprice
>> :aff1  :auth1  :book1  10
>> :aff1  :auth2  :book1  10
>
>



-- 
Dr. Birte Glimm, Room 306
Computing Laboratory
Parks Road
Oxford
OX1 3QD
United Kingdom
+44 (0)1865 283529
Received on Friday, 6 November 2009 22:05:10 GMT

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