A group a five people wearing the same shirt are sitting on the grass with a dog.
A group is with a dog outside.
grass is outside.
exists p1 s1 x1 x4 x5.(n_grass(x5) & n_shirt(x4) & a_same(s1) & Theme(s1,x4) & a_topic(x1) & exists e2 e1 x2 x3 x6.(with(e2,x6) & n_dog(x6) & on(e2,x5) & Actor(e2,x2) & v_sit(e2) & Theme(e1,x4) & Actor(e1,x3) & v_wear(e1) & (x2 = x3) & n_people(x2) & card_eq_5(x2)) & that(x1,p1) & n_group(x1))
exists p1 x1.(exists x2 x3.(with(x1,x2) & n_outside(x2) & of(x2,x3) & n_dog(x3)) & n_group(x1))