If your Person-fact has a slot hasUncle, the what do you need a rule for? And then, what do you do if a person has more than one brother?
The clue is in the answer to this question: Which relatives of a person are guaranteed to be singletons? -W On Mon, Mar 30, 2009 at 5:29 PM, The Boy <[email protected]> wrote: > > Hello all, > how I can define the equivalence of this rule ?x hasFather ?y ∧ ?y > hasBrother ?z => ?x hasUncle ?z > in Jess/CLIPS . I assume that ?x, ?y and ?z are instances of class Person; > and class Person has 3 slots (hasBroher with type Instance,hasFather with > type Instance ,hasUncle with type Instance) > > Thanks in advance. > > Joe_ > -- > View this message in context: > http://www.nabble.com/define-Uncle-rule-tp22785792p22785792.html > Sent from the Jess mailing list archive at Nabble.com. > > > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users [email protected]' > in the BODY of a message to [email protected], NOT to the list > (use your own address!) List problems? Notify [email protected]. > -------------------------------------------------------------------- > >
