A man is wearing a backpack and a hat.
a man in a hat
If someone is wearing a backpack and a hat they are still in a hat
exists e1 x1 x2 x3 x4.(Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & subset_of(x4,x2) & n_hat(x4) & subset_of(x3,x2) & n_backpack(x3) & n_man(x1))
exists x1 x2.(a_topic(x1) & in(x1,x2) & n_hat(x2) & n_man(x1))