A man stands on the beach with an orange pail on his head.
A man is playing with sand.
A man with a pail on his head in not necessarily playing with sand.
exists e1 x1 x2 x3 x4 x5.(n_head(x5) & of(x5,x2) & n_male(x2) & n_beach(x2) & on(e1,x2) & with(x2,x3) & on(x3,x5) & n_pail(x3) & of(x3,x4) & n_orange(x4) & Actor(e1,x1) & v_stand(e1) & n_man(x1))
exists e1 x1 x2.(with(e1,x2) & n_sand(x2) & Actor(e1,x1) & v_play(e1) & n_man(x1))