The giraffe was lended the donut beside the table .
* giraffe ( x _ 1 ) ; * donut ( x _ 5 ) ; * table ( x _ 8 ) ; lend . recipient ( x _ 3 , x _ 1 ) AND lend . theme ( x _ 3 , x _ 5 ) AND donut . nmod . beside ( x _ 5 , x _ 8 )