A guest rented the cake beside the table to the dog .
* cake ( x _ 4 ) ; * table ( x _ 7 ) ; * dog ( x _ 10 ) ; guest ( x _ 1 ) AND rent . agent ( x _ 2 , x _ 1 ) AND rent . theme ( x _ 2 , x _ 4 ) AND rent . recipient ( x _ 2 , x _ 10 ) AND cake . nmod . beside ( x _ 4 , x _ 7 )