A child in a coat and hat is standing in a yellow doorway, and a woman in a coat and hat is standing outside, holding a cup.
A mother and son stand by their doorway
The woman and child are mother and son, and they are standing by the doorway, but not both inside.
exists e1 e3 e2 s1 s2 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10.(for(e2,e3) & Theme(e3,x10) & Actor(e3,x6) & v_hold(e3) & n_cup(x10) & a_outside(s2) & Manner(e2,s2) & Actor(e2,x6) & v_stand(e2) & in(x6,x7) & n_hat(x9) & n_coat(x8) & subset_of(x9,x7) & subset_of(x8,x7) & n_woman(x6) & in(e1,x5) & n_doorway(x5) & a_yellow(s1) & Theme(s1,x5) & Actor(e1,x1) & v_stand(e1) & in(x1,x2) & n_hat(x4) & n_coat(x3) & subset_of(x4,x2) & subset_of(x3,x2) & n_child(x1))
exists e1 x1 x2 x3 x4.(by(e1,x4) & n_doorway(x4) & of(x4,x2) & n_thing(x2) & Actor(e1,x1) & v_stand(e1) & n_son(x3) & n_mother(x2) & subset_of(x3,x1) & subset_of(x2,x1))