A boy wearing a birthday hat plays in a puddle.
A boy playing in a puddle.
Both sentences refer to boy playing in a puddle
exists e2 e1 x1 x2 x3 x4 x5.(in(e2,x5) & n_puddle(x5) & Actor(e2,x1) & v_play(e2) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & n_hat(x3) & of(x3,x4) & n_birthday(x4) & (x1 = x2) & n_boy(x1))
exists x1 x2 x3.(a_topic(x1) & in(x1,x3) & n_puddle(x3) & n_playing(x1) & of(x1,x2) & n_boy(x2))