W3C home > Mailing lists > Public > public-cwm-talk@w3.org > January to March 2005

Re: Checking whether an element ist NOT part of a list.

From: Dan Connolly <connolly@w3.org>
Date: Thu, 3 Mar 2005 13:45:25 -0500
Message-Id: <d0ac02b4725fb4408f97ab2f11c89500@w3.org>
Cc: nane.kratzke@web.de, public-cwm-talk@w3.org
To: Yosi Scharf <syosi@MIT.EDU>

On Mar 3, 2005, at 12:59 PM, Yosi Scharf wrote:
>> Hello,
>> it may sound funny, but I would like to check whether an element is 
>> not
>> part of list.
>> But there exist no list:notIn in CWM.
>> Does anybody has an idea how to check whether an element is not part 
>> of
>> a list?
> The attached file does just that.

Hmm... it uses log:notEqualTo rather than owl:differentFrom .

>  I agree, it would be much simpler to simply create the builtin. I'll 
> add that to my toDo list.

Please be careful with how it's documented, and please add this as a 

dan brothers (jonathan paul).
jon = jonathan.

{ dan brothers ?X. jon log:notIn ?X } => { user be ware }.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 3 March 2005 18:45:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:01:04 UTC