A cake was given to a teacher by the giraffe .
* giraffe ( x _ 9 ) ; cake ( x _ 1 ) AND give . theme ( x _ 3 , x _ 1 ) AND give . recipient ( x _ 3 , x _ 6 ) AND give . agent ( x _ 3 , x _ 9 ) AND teacher ( x _ 6 )