RE: Multiple clauses in KW:FINDALL
Correction. If I use the TEST operator, I get *no* results. Hmm...
dey
-----Original Message-----
From: Young, David [mailto:deyoung@bloodhoundinc.com]
Sent: Tuesday, September 28, 2004 11:52 AM
To: 'lisp-hug@xanalys.com'
Subject: Multiple clauses in KW:FINDALL
Hi. I would like to query our kb using something similar to the following.
Assume I have to kw instances of class FRODO, one with age = 30, the other
with age = 60. I then evaluate:
(kw:findall '?x '(and (frodo ?x age ?age) ((< ?age 50))))
However, I clearly don't understand somthing about FINDALL, as the above
query returns *both* instances rather than just one. What am I doing wrong?
Thanks...
David E. Young
Bloodhound Software, Inc.
http://bloodhoundinc.com
"For wisdom is more precious than rubies,
and nothing you desire can compare with her."
-- Prov. 8:11
"But all the world understands my language."
-- Franz Joseph Haydn (1732-1809)
This email message is for the sole use of the intended recipients(s) and may
contain confidential and privileged information of Bloodhound Software,
Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not
the intended recipient, please contact the sender by reply email and destroy
all copies of the original message.
This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.