A man in a hat is sitting with his hands folded.
The man is waving at a friend.
You cannot be waving if your hands are folded.
exists e1 e2 x1 x2 x3 x4.(with(e1,x3) & Actor(e2,x4) & v_fold(e2) & (x3 = x4) & n_hand(x3) & of(x3,x1) & n_male(x1) & Actor(e1,x1) & v_sit(e1) & in(x1,x2) & n_hat(x2) & n_man(x1))
exists e1 x1 x2.(n_man(x1) & at(e1,x2) & n_friend(x2) & Actor(e1,x1) & v_wave(e1))