A woman in a cap at a coffee shop.
A girl wearing a hat.
A woman in a coffee shop is wearing a hat.
exists x1 x2 x3 x4.(a_topic(x1) & in(x1,x2) & at(x2,x3) & n_shop(x3) & of(x3,x4) & n_coffee(x4) & n_cap(x2) & n_woman(x1))
exists e1 x1 x2 x3.(a_topic(x1) & Theme(e1,x3) & Actor(e1,x2) & v_wear(e1) & n_hat(x3) & (x1 = x2) & n_girl(x1))