A woman with a cart of vegetables.
A man grocery shopping.
If the person has a cart of vegetables, it implies that they are engaged in grocery shopping.
exists x1 x2 x3.(a_topic(x1) & with(x1,x2) & of(x2,x3) & n_vegetable(x3) & n_cart(x2) & n_woman(x1))
exists x1 x2 x3.(a_topic(x1) & n_shopping(x1) & of(x1,x3) & n_grocery(x3) & of(x1,x2) & n_man(x2))