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

Re: limit per resource rethought...

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Fri, 13 Aug 2010 22:37:21 +0100
Message-ID: <4C65BB11.10709@epimorphics.com>
To: Steve Harris <steve.harris@garlik.com>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>


On 13/08/10 10:38, Steve Harris wrote:
>> >>  SELECT ?p (SCALAR(1, DESC ?name) AS ?n1) (SCALAR(2, DESC ?name) AS ?n2) (SCALAR(3, DESC ?name) AS ?n3)
>>
>>  clever use of the error condition:-)
 > It is?

If an error were a error in the query this would not work if there were 
less than 3 ?name.  As it stands, you get the cardinality you want by 
the fact that an error in the SELECT expression causes no binding but 
the query is not itself an error.

	Andy
Received on Friday, 13 August 2010 21:37:59 GMT

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