A teacher thought that a girl liked that a cookie was valued by Emma .
teacher ( x _ 1 ) AND think . agent ( x _ 2 , x _ 1 ) AND think . ccomp ( x _ 2 , x _ 6 ) AND girl ( x _ 5 ) AND like . agent ( x _ 6 , x _ 5 ) AND like . ccomp ( x _ 6 , x _ 11 ) AND cookie ( x _ 9 ) AND value . theme ( x _ 11 , x _ 9 ) AND value . agent ( x _ 11 , Emma )