A woman holding a lamp walking next to a man walking a dog.
The dog is a lab
A woman holding a lamp walking next to a man walking a dog does not indicate it is  a lab
exists e3 e2 e1 x1 x2 x3 x4 x5 x6 x7.(a_topic(x1) & Theme(e3,x3) & Actor(e3,x2) & v_hold(e3) & to(e1,x5) & Theme(e2,x7) & Actor(e2,x6) & v_walk(e2) & n_dog(x7) & (x5 = x6) & n_man(x5) & r_next(e1) & Actor(e1,x4) & v_walk(e1) & (x3 = x4) & n_lamp(x3) & (x1 = x2) & n_woman(x1))
exists p1 x1.(n_dog(x1) & exists x2.((x1 = x2) & n_lab(x2)))