Monkey and Bananas
A classic AI Planning problem as solved by jess
Given :
The monkey is at location t5-7, on-top-of green-couch, holding nothing
A green-couch is at location t5-7, with weight heavy
A red-couch is at location t2-2, with weight heavy
A big-pillow is at location t2-2 on-top-of red-couch
A red-chest is at location t2-2 on-top-of big-pillow
A red-chest has contents ladder, unlocked-by red-key
A blue-chest is at location t7-7, on-top-of ceiling
A blue-chest has contents bananas, unlocked-by blue-key
A blue-couch is at location t8-8, with weight heavy
A green-chest is at location t8-8, on-top-of ceiling
A green-chest has contents blue-key, unlocked-by red-key
A red-key is at location t1-3
Goal-is-to eat the bananas