David liked that a girl was given the cookie by the boy .
* cookie ( x _ 8 ) ; * boy ( x _ 11 ) ; like . agent ( x _ 1 , David ) AND like . ccomp ( x _ 1 , x _ 6 ) AND girl ( x _ 4 ) AND give . recipient ( x _ 6 , x _ 4 ) AND give . theme ( x _ 6 , x _ 8 ) AND give . agent ( x _ 6 , x _ 11 )