Scarlett liked that a dog liked that the cake was appreciated by Emma .
* cake ( x _ 8 ) ; like . agent ( x _ 1 , Scarlett ) AND like . ccomp ( x _ 1 , x _ 5 ) AND dog ( x _ 4 ) AND like . agent ( x _ 5 , x _ 4 ) AND like . ccomp ( x _ 5 , x _ 10 ) AND appreciate . theme ( x _ 10 , x _ 8 ) AND appreciate . agent ( x _ 10 , Emma )