A girl gave the cat the cake in the cup on the table .
* cat ( x _ 4 ) ; * cake ( x _ 6 ) ; * cup ( x _ 9 ) ; * table ( x _ 12 ) ; girl ( x _ 1 ) AND give . agent ( x _ 2 , x _ 1 ) AND give . recipient ( x _ 2 , x _ 4 ) AND give . theme ( x _ 2 , x _ 6 ) AND cake . nmod . in ( x _ 6 , x _ 9 ) AND cup . nmod . on ( x _ 9 , x _ 12 )