A man is a kitchen cooking.
A woman is cooking in the living room.
It can only be a man or a woman.  Cooking is typically done in the kitchen not the living room.
exists p1 x1.(exists x2 x3.((x1 = x2) & n_cooking(x2) & of(x2,x3) & n_kitchen(x3)) & n_man(x1))
exists e1 x1 x2 x3.(n_room(x2) & of(x2,x3) & n_living(x3) & in(e1,x2) & Actor(e1,x1) & v_cook(e1) & n_woman(x1))