A lawyer was given the cookie by a dog .
* cookie ( x _ 5 ) ; lawyer ( x _ 1 ) AND give . recipient ( x _ 3 , x _ 1 ) AND give . theme ( x _ 3 , x _ 5 ) AND give . agent ( x _ 3 , x _ 8 ) AND dog ( x _ 8 )