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

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 
test:

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