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

Re: ASK & GROUP BY / HAVING

From: Steve Harris <steve.harris@garlik.com>
Date: Wed, 24 Aug 2011 11:33:25 +0100
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
Message-Id: <12C9F54D-0605-4AD9-8375-3C8FFF01BEA9@garlik.com>
To: Lee Feigenbaum <lee@thefigtrees.net>
Not from my p.o.v.

- Steve

On 2011-08-23, at 14:31, Lee Feigenbaum wrote:

> A colleague pointed out to me this morning that the SPARQL 1.1 grammar does not support solution modifiers (including GROUP BY / HAVING) with ASK queries.
> 
> This means that you cannot use ASK to ask a boolean question involving aggregates ("are there any countries that have more than 5,000 cities?"). (Well, you can do it using a subquery, but not directly.)
> 
> Is this purposeful?
> 
> thanks,
> Lee
> 

-- 
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD
Received on Wednesday, 24 August 2011 10:33:55 GMT

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