The resident was given the donut beside the bed by the girl .
* resident ( x _ 1 ) ; * donut ( x _ 5 ) ; * bed ( x _ 8 ) ; * girl ( x _ 11 ) ; give . recipient ( x _ 3 , x _ 1 ) AND give . theme ( x _ 3 , x _ 5 ) AND give . agent ( x _ 3 , x _ 11 ) AND donut . nmod . beside ( x _ 5 , x _ 8 )