A woman with two kids walks towards a building.
Three men stand near a building.
The subject is either a woman and kids or three men, who either stand or walks.
exists e1 x1 x2 x3.(towards(e1,x3) & n_building(x3) & Actor(e1,x1) & v_walk(e1) & with(x1,x2) & n_kid(x2) & card_eq_2(x2) & n_woman(x1))
exists e1 x1 x2.(near(e1,x2) & n_building(x2) & Actor(e1,x1) & v_stand(e1) & n_man(x1) & card_eq_3(x1))