A child and a grownup, each wearing hats, play by the ocean.
A child and a grownup celebrate a birthday by the ocean.
Just because a child and a grown up wear hats does not mean they celebrate a birthday.
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 e1 x1 x2 x3 x4 x5.(n_ocean(x5) & by(e1,x5) & Theme(e1,x4) & Actor(e1,x1) & v_celebrate(e1) & n_birthday(x4) & subset_of(x3,x1) & n_grownup(x3) & subset_of(x2,x1) & n_child(x2))