Riley was offered the cake on the table by Emma .
* cake ( x _ 4 ) ; * table ( x _ 7 ) ; offer . recipient ( x _ 2 , Riley ) AND offer . theme ( x _ 2 , x _ 4 ) AND offer . agent ( x _ 2 , Emma ) AND cake . nmod . on ( x _ 4 , x _ 7 )