A girl wished that the dog offered the cookie to Liam .
* dog ( x _ 5 ) ; * cookie ( x _ 8 ) ; girl ( x _ 1 ) AND wish . agent ( x _ 2 , x _ 1 ) AND wish . ccomp ( x _ 2 , x _ 6 ) AND offer . agent ( x _ 6 , x _ 5 ) AND offer . theme ( x _ 6 , x _ 8 ) AND offer . recipient ( x _ 6 , Liam )