A teacher gave Sophia the cookie beside the chair beside a stage .
* cookie ( x _ 5 ) ; * chair ( x _ 8 ) ; teacher ( x _ 1 ) AND give . agent ( x _ 2 , x _ 1 ) AND give . recipient ( x _ 2 , Sophia ) AND give . theme ( x _ 2 , x _ 5 ) AND cookie . nmod . beside ( x _ 5 , x _ 8 ) AND chair . nmod . beside ( x _ 8 , x _ 11 ) AND stage ( x _ 11 )