The girl was given a drink beside a machine by Emma .
* girl ( x _ 1 ) ; give . recipient ( x _ 3 , x _ 1 ) AND give . theme ( x _ 3 , x _ 5 ) AND give . agent ( x _ 3 , Emma ) AND drink ( x _ 5 ) AND drink . nmod . beside ( x _ 5 , x _ 8 ) AND machine ( x _ 8 )