A man is holding up his hand by a flag.
A man is by a flag
man is holding up his hand implies man
exists e1 s1 x1 x2 x3.(by(e1,x3) & n_flag(x3) & a_up(s1) & Manner(e1,s1) & Theme(e1,x2) & Actor(e1,x1) & v_hold(e1) & n_hand(x2) & of(x2,x1) & n_male(x1) & n_man(x1))
exists p1 x1.(exists x2.(by(x1,x2) & n_flag(x2)) & n_man(x1))