The girl gave a boy the cookie on a bed beside the basket .
* girl ( x _ 1 ) ; * cookie ( x _ 6 ) ; * basket ( x _ 12 ) ; give . agent ( x _ 2 , x _ 1 ) AND give . recipient ( x _ 2 , x _ 4 ) AND give . theme ( x _ 2 , x _ 6 ) AND boy ( x _ 4 ) AND cookie . nmod . on ( x _ 6 , x _ 9 ) AND bed ( x _ 9 ) AND bed . nmod . beside ( x _ 9 , x _ 12 )