Jack owns a dog. Every dog owner is an animal lover. No animal lover kills an animal. Either Jack or Curiosity killed the cat, who is named Tuna. Did Curiosity kill the cat?
((dog d)) (1a) ((owns jack d)) (1b) ((~ (dog ?x)) (~ (owns ?x ?y)) (animallover ?x)) (2) ((~ (animallover ?z)) (~ (animal ?w)) (~ (kills ?z ?w))) (3) ((kills jack tuna) (kills curiosity tuna)) (4a) (cat tuna) (4b) ((~ (cat ?u)) (animal ?u)) (4c)
((~ (kills curiosity cat))) (5)
((kills jack tuna)) (6)
((~ (animallover jack)) (~ (animal tuna))) (7)
((~ (dog ?v)) (~ (owns jack ?v)) (~ (animal tuna))) (8)
((~ (dog d)) (~ (animal tuna))) (9)
((~ (animal tuna))) (10)
((~ (cat tuna))) (11)
()
((~ (kills ?q tuna)) (answer ?q))Then resolution proceeds as before, except that we end up with
((answer curiosity)) in place of the empty clause.
Last updated: 13 February 1996
URL: http://www.indiana.edu/~gasser/Q351/rtp_example.html
Comments:
gasser@salsa.indiana.edu
Copyright 1996,
The Trustees of
Indiana University