A cat liked the ball beside a bed beside a table .
* ball ( x _ 4 ) ; cat ( x _ 1 ) AND like . agent ( x _ 2 , x _ 1 ) AND like . theme ( x _ 2 , x _ 4 ) AND ball . nmod . beside ( x _ 4 , x _ 7 ) AND bed ( x _ 7 ) AND bed . nmod . beside ( x _ 7 , x _ 10 ) AND table ( x _ 10 )