A dog gave a girl the cake beside the bed on a chair .
* cake ( x _ 6 ) ; * bed ( x _ 9 ) ; dog ( x _ 1 ) AND give . agent ( x _ 2 , x _ 1 ) AND give . recipient ( x _ 2 , x _ 4 ) AND give . theme ( x _ 2 , x _ 6 ) AND girl ( x _ 4 ) AND cake . nmod . beside ( x _ 6 , x _ 9 ) AND bed . nmod . on ( x _ 9 , x _ 12 ) AND chair ( x _ 12 )