William promised the cake beside the bag on a table to Emma .
* cake ( x _ 3 ) ; * bag ( x _ 6 ) ; promise . agent ( x _ 1 , William ) AND promise . theme ( x _ 1 , x _ 3 ) AND promise . recipient ( x _ 1 , Emma ) AND cake . nmod . beside ( x _ 3 , x _ 6 ) AND bag . nmod . on ( x _ 6 , x _ 9 ) AND table ( x _ 9 )