Men carrying guns and flags marching in formation.
People armed with guns and flags are marching.
Carrying a gun implies being armed with a gun and marching with flags would generally be in a formation.
exists e1 e2 x1 x2 x3 x4.(in(e2,x4) & n_formation(x4) & Actor(e2,x3) & v_march(e2) & n_flag(x3) & Theme(e1,x2) & Actor(e1,x1) & v_carry(e1) & n_gun(x2) & n_man(x1))
exists e1 e2 x1 x2 x3 x4 x5.(Actor(e2,x1) & v_march(e2) & with(e1,x3) & subset_of(x5,x3) & n_flag(x5) & subset_of(x4,x3) & n_gun(x4) & Theme(e1,x2) & v_arm(e1) & (x1 = x2) & n_people(x1))