Layla liked that a frog liked that Emma was given a cake by a writer .
like . agent ( x _ 1 , Layla ) AND like . ccomp ( x _ 1 , x _ 5 ) AND frog ( x _ 4 ) AND like . agent ( x _ 5 , x _ 4 ) AND like . ccomp ( x _ 5 , x _ 9 ) AND give . recipient ( x _ 9 , Emma ) AND give . theme ( x _ 9 , x _ 11 ) AND give . agent ( x _ 9 , x _ 14 ) AND cake ( x _ 11 ) AND writer ( x _ 14 )