Emma was given the cake on the sofa by James .
* cake ( x _ 4 ) ; * sofa ( x _ 7 ) ; give . recipient ( x _ 2 , Emma ) AND give . theme ( x _ 2 , x _ 4 ) AND give . agent ( x _ 2 , James ) AND cake . nmod . on ( x _ 4 , x _ 7 )