A man and women both in hats standing outside.
The man and woman are wearing hats.
Wearing hats is another way of saying both in hats.
exists e1 s1 s2 x1 x2 x3 x4.(a_topic(s1) & subset_of(x2,s1) & n_both(x2) & in(x2,x3) & a_outside(s2) & Manner(e1,s2) & Actor(e1,x4) & v_stand(e1) & (x3 = x4) & n_hat(x3) & n_woman(x2) & subset_of(x1,s1) & n_man(x1))
exists e1 x1 x2 x3 x4.(n_woman(x3) & n_man(x2) & subset_of(x3,x1) & subset_of(x2,x1) & Theme(e1,x4) & Actor(e1,x1) & v_wear(e1) & n_hat(x4))