Two men and a small child are walking outside near a brick wall and building.
Two dogs are playing with a cat.
Two men and a child are people, whereas two dogs and a cat are animal.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6 x7.(near(e1,x4) & n_building(x6) & n_wall(x5) & of(x5,x7) & n_brick(x7) & subset_of(x6,x4) & subset_of(x5,x4) & a_outside(s2) & Manner(e1,s2) & Actor(e1,x1) & v_walk(e1) & subset_of(x3,x1) & n_child(x3) & a_small(s1) & Theme(s1,x3) & subset_of(x2,x1) & n_man(x2) & card_eq_2(x2))
exists e1 x1 x2.(with(e1,x2) & n_cat(x2) & Actor(e1,x1) & v_play(e1) & n_dog(x1) & card_eq_2(x1))