a person with a small dog caught in her legs
A person is next to a dog.
The dog is caught in her legs so she must be next to the dog.
exists e1 s1 x1 x2 x3 x4.(a_topic(x1) & with(x1,x2) & in(e1,x4) & n_leg(x4) & of(x4,x1) & n_female(x1) & Theme(e1,x3) & v_catch(e1) & (x2 = x3) & n_dog(x2) & a_small(s1) & Theme(s1,x2) & n_person(x1))
exists s1 x1 x2.(to(s1,x2) & n_dog(x2) & Theme(s1,x1) & a_next(s1) & n_person(x1))