Man stands in public square displaying flags.
the man is by the flags
The man displaying flags in the public square must obviously be by the flags.
exists e1 s1 x1 x2 x3 x4.(a_topic(x1) & in(x1,x3) & n_flag(x3) & Actor(e1,x3) & v_display(e1) & of(x3,x4) & n_square(x4) & a_public(s1) & Theme(s1,x3) & n_stand(x1) & of(x1,x2) & n_man(x2))
exists p1 x1 x2.(n_flag(x2) & n_man(x1) & by(x1,x2))