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