A friend liked that the can was given to Liam by the dog .
* can ( x _ 5 ) ; * dog ( x _ 12 ) ; friend ( x _ 1 ) AND like . agent ( x _ 2 , x _ 1 ) AND like . ccomp ( x _ 2 , x _ 7 ) AND give . theme ( x _ 7 , x _ 5 ) AND give . recipient ( x _ 7 , Liam ) AND give . agent ( x _ 7 , x _ 12 )