A man with a yellow hat and sash has his arm raised while another man stands behind him.
a man punched a dog
A man is either standing with another man behind him or he punched a dog.
exists e1 e2 p1 s1 x1 x2 x3 x4 x5 x6.(Theme(e2,x5) & Actor(e2,x1) & v_have(e2) & exists e3 x7.(behind(e3,x1) & Actor(e3,x7) & v_stand(e3) & n_man(x7) & -(x7 = x1)) & n_male(x1) & n_male(x1) & n_man(x1) & n_man(x1) & while(e1,p1) & Theme(e1,x6) & v_raise(e1) & (x5 = x6) & n_arm(x5) & of(x5,x1) & with(x1,x2) & n_sash(x4) & n_hat(x3) & subset_of(x4,x2) & subset_of(x3,x2) & a_yellow(s1) & Theme(s1,x2))
exists e1 x1 x2 x3.(a_topic(x1) & Recipient(e1,x3) & Theme(e1,x2) & v_punch(e1) & n_dog(x3) & (x1 = x2) & n_man(x1))