A cookie was sold to the penguin by the dog .
* penguin ( x _ 6 ) ; * dog ( x _ 9 ) ; cookie ( x _ 1 ) AND sell . theme ( x _ 3 , x _ 1 ) AND sell . recipient ( x _ 3 , x _ 6 ) AND sell . agent ( x _ 3 , x _ 9 )