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

ASK & GROUP BY / HAVING

From: Lee Feigenbaum <lee@thefigtrees.net>
Date: Tue, 23 Aug 2011 09:31:25 -0400
Message-ID: <4E53ABAD.4060506@thefigtrees.net>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
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
Received on Tuesday, 23 August 2011 13:32:05 GMT

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