The dog confessed that Liam sold a cake to the child .
* dog ( x _ 1 ) ; * child ( x _ 10 ) ; confess . agent ( x _ 2 , x _ 1 ) AND confess . ccomp ( x _ 2 , x _ 5 ) AND sell . agent ( x _ 5 , Liam ) AND sell . theme ( x _ 5 , x _ 7 ) AND sell . recipient ( x _ 5 , x _ 10 ) AND cake ( x _ 7 )