James offered a balloon beside the table to a dog .
* table ( x _ 6 ) ; offer . agent ( x _ 1 , James ) AND offer . theme ( x _ 1 , x _ 3 ) AND offer . recipient ( x _ 1 , x _ 9 ) AND balloon ( x _ 3 ) AND balloon . nmod . beside ( x _ 3 , x _ 6 ) AND dog ( x _ 9 )