Matthew studied a sandwich beside the bed .
* bed ( x _ 6 ) ; study . agent ( x _ 1 , Matthew ) AND study . theme ( x _ 1 , x _ 3 ) AND sandwich ( x _ 3 ) AND sandwich . nmod . beside ( x _ 3 , x _ 6 )