Woman and four little girls, near cake with candles.
Man and three boys, near pie and soda.
A woman is not a man and girls are not boys.  They can either be four children or three children.  The girls are near cake, the boys are near pie.
exists s1 s2 x1 x2 x3 x4.(ne_nam_woman(x1) & a_topic(s1) & subset_of(x2,s1) & near(x2,x3) & with(x3,x4) & n_candle(x4) & n_cake(x3) & n_girl(x2) & a_little(s2) & Theme(s2,x2) & card_eq_4(x2) & subset_of(x1,s1))
exists x1 x2 x3 x4 x5.(a_topic(x1) & near(x1,x3) & subset_of(x5,x3) & n_soda(x5) & subset_of(x4,x3) & n_pie(x4) & n_boy(x1) & card_eq_3(x1) & of(x1,x2) & n_man(x2))