The spectators wear hats
all of the spectators are wearing hats to protect from the sun
The hats are not necessarily to protect from the sun.
exists e1 x1 x2.(n_spectator(x1) & Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_hat(x2))
exists x2 x4.(n_sun(x4) & n_spectator(x2) & all x1.(n_thing(x1) -> exists e1 p1 x3.(Topic(e1,p1) & Recipient(e1,x3) & Actor(e1,x1) & v_wear(e1) & exists e2.(from(e2,x4) & Actor(e2,x3) & v_protect(e2)) & n_hat(x3) & of(x1,x2))))