A cookie was lended to a teacher by the cat .
* cat ( x _ 9 ) ; cookie ( x _ 1 ) AND lend . theme ( x _ 3 , x _ 1 ) AND lend . recipient ( x _ 3 , x _ 6 ) AND lend . agent ( x _ 3 , x _ 9 ) AND teacher ( x _ 6 )