Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defrule rmother
- (person (name ?x) (gender female))
- (person (name ?y))
- (parent (parentname ?x) (childname ?y))
- =>
- (printout t ?x “ is a mother of ” ?y crlf)
- (assert (mother (name1 ?x) (name2 ?y)))
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement