a man wearing a hat and a small boy in a bathing suit playing in the sand.
The man is near the sand.
The man is playing the sand implies he is near sand.
exists e2 e1 s1 x1 x2 x3 x4 x5 x6.(n_sand(x6) & in(e2,x6) & Actor(e2,x3) & v_play(e2) & in(x3,x4) & n_suit(x4) & of(x4,x5) & n_bathing(x5) & n_boy(x3) & a_small(s1) & Theme(s1,x3) & Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_hat(x2) & n_man(x1))
exists p1 x1 x2.(n_sand(x2) & n_man(x1) & near(x1,x2))