W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2006

Re: Equality in FILTER [#ValueTesting]

From: Steve Harris <steve.harris@richmondinformatics.com>
Date: Tue, 18 Apr 2006 10:40:21 +0100
Message-Id: <36EA3829-C7B8-4687-97A9-047626E971C2@richmondinformatics.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>


On 18 Apr 2006, at 10:15, Seaborne, Andy wrote:
> Alt 1: If "sameValueAs" is false (the processor does not definitely  
> know that they are the same) then both "sameValueAs" and  
> "notSameValueAs" can be false at the same time (the cases where the  
> processor has no clue about the datatype and the lexical forms are  
> different, or it is two different datatypes, at least one of which  
> is unknown to the processor).
>
> That is
>    not(sameValueAs(?x,?y)) is different from "notTheSameValueAs(?x,? 
> y)"
>
> Alt 2: Alternatively, it can be a "can't compare error", so
>
>    not(sameValueAs(?x,?y)) is the same as "notTheSameValueAs(?x,?y)"
>
> and sameValueAs and notTheSameValueAs return true/false only when  
> they positively know that to be the case.

I slightly prefer 2, but not for any good reasons.

- Steve
Received on Tuesday, 18 April 2006 09:40:33 GMT

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