A man in a black cap is opening a bag beside a bicycle and a shopping cart.
A man is not wearing a hat.
a cap is different from a hat
exists e1 s1 x1 x2 x3 x4 x5 x6 x7.(beside(e1,x4) & subset_of(x6,x4) & n_cart(x6) & of(x6,x7) & n_shopping(x7) & subset_of(x5,x4) & n_bicycle(x5) & Theme(e1,x3) & Actor(e1,x1) & v_open(e1) & n_bag(x3) & in(x1,x2) & n_cap(x2) & a_black(s1) & Theme(s1,x2) & n_man(x1))
exists x1.(-exists e1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_wear(e1) & n_hat(x2)) & n_man(x1))