A man playing with a small dog.
A man is near a small dog.
Playing with implies that a man is near the small dog.
exists e1 s1 x1 x2 x3.(a_topic(x1) & with(e1,x3) & n_dog(x3) & a_small(s1) & Theme(s1,x3) & Actor(e1,x2) & v_play(e1) & (x1 = x2) & n_man(x1))
exists p1 x1.(exists s1 x2.(near(x1,x2) & n_dog(x2) & a_small(s1) & Theme(s1,x2)) & n_man(x1))