Man in sunglasses and cap walking.
A man is wearing sunglasses and a hat.
in sunglasses is rephrasing of wearing sunglasses, and a cap is the same as a hat.
exists x1 x2 x3 x4 x5.(a_topic(x1) & in(x1,x2) & n_walking(x4) & of(x4,x5) & n_cap(x5) & n_sunglass(x3) & subset_of(x4,x2) & subset_of(x3,x2) & n_man(x1))
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_sunglass(x3) & n_man(x1))