A child and a grownup, each wearing hats, play by the ocean.
A boy and his mother play by the ocean.
Just because a child and a grown up play does not mean they are boy and his mother.
exists s1 x1 x2 x5.(n_ocean(x5) & a_topic(s1) & all e1 x3.((n_hat(x3) & Actor(e1,x3) & v_wear(e1)) -> exists x4.(rel(s1,x3) & rel(x3,x4) & by(x4,x5) & n_play(x4))) & subset_of(x2,s1) & n_grownup(x2) & subset_of(x1,s1) & n_child(x1))
exists s1 x1 x2 x3 x4.(n_ocean(x4) & a_topic(s1) & subset_of(x2,s1) & by(x2,x4) & n_play(x2) & of(x2,x3) & n_mother(x3) & of(x2,x1) & n_male(x1) & subset_of(x1,s1) & n_boy(x1))