Three women or girls stand and sit in the shade of a tree while a group of small children sits inside the doorway of a building.
All the children are by the building while the adults are by a tree.
You can not assume all of the children are by the building just because there is a group of children in the doorway. There may be more children some of whom are sitting in the shade with the adults.
exists e1 e2 p1 x1 x2 x3 x4 x7.(n_doorway(x7) & n_shade(x3) & exists e3 s1 x5 x6 x8.(inside(e3,x7) & of(x7,x8) & n_building(x8) & Actor(e3,x5) & v_sit(e3) & of(x5,x6) & n_child(x6) & a_small(s1) & Theme(s1,x6) & n_group(x5)) & while(e2,p1) & in(e2,x3) & of(x3,x4) & n_tree(x4) & Actor(e2,x2) & v_sit(e2) & (n_woman(x2) | n_girl(x2)) & card_eq_3(x2) & Actor(e1,x1) & v_stand(e1) & (n_woman(x1) | n_girl(x1)) & card_eq_3(x1))
exists x2 x3 x4.(n_adult(x4) & n_building(x3) & n_child(x2) & all x1.((x1 = x2) -> exists p1 p2.(exists p3 x5.(by(x4,x5) & n_tree(x5)) & while(p1,p2) & by(x1,x3))))