Emma was handed a cookie on the bed by the girl .
* bed ( x _ 7 ) ; * girl ( x _ 10 ) ; hand . recipient ( x _ 2 , Emma ) AND hand . theme ( x _ 2 , x _ 4 ) AND hand . agent ( x _ 2 , x _ 10 ) AND cookie ( x _ 4 ) AND cookie . nmod . on ( x _ 4 , x _ 7 )