Liam lended Ava a cake beside the table .
* table ( x _ 7 ) ; lend . agent ( x _ 1 , Liam ) AND lend . recipient ( x _ 1 , Ava ) AND lend . theme ( x _ 1 , x _ 4 ) AND cake ( x _ 4 ) AND cake . nmod . beside ( x _ 4 , x _ 7 )