A teacher packed the cookie beside the table .
* cookie ( x _ 4 ) ; * table ( x _ 7 ) ; teacher ( x _ 1 ) AND pack . agent ( x _ 2 , x _ 1 ) AND pack . theme ( x _ 2 , x _ 4 ) AND cookie . nmod . beside ( x _ 4 , x _ 7 )