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