A man in a hat and green shirt is pushing luggage on a blue cart.
A man is wearing a hat.
A man in a hat means he is wearing a hat.
exists e1 s1 s2 x1 x2 x3 x4 x5 x6.(on(e1,x6) & n_cart(x6) & a_blue(s2) & Theme(s2,x6) & Theme(e1,x5) & Actor(e1,x1) & v_push(e1) & n_luggage(x5) & in(x1,x2) & n_shirt(x4) & a_green(s1) & Theme(s1,x4) & n_hat(x3) & subset_of(x4,x2) & subset_of(x3,x2) & n_man(x1))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_hat(x2) & n_man(x1))