Savannah imagined that Emma gave the cookie beside the table to a child .
* cookie ( x _ 6 ) ; * table ( x _ 9 ) ; imagine . agent ( x _ 1 , Savannah ) AND imagine . ccomp ( x _ 1 , x _ 4 ) AND give . agent ( x _ 4 , Emma ) AND give . theme ( x _ 4 , x _ 6 ) AND give . recipient ( x _ 4 , x _ 12 ) AND cookie . nmod . beside ( x _ 6 , x _ 9 ) AND child ( x _ 12 )