A young boy is playing with a yo-yo.
A young man walks the dog on his yo-yo.
You can not infer he walks the dog.
exists e1 s1 x1 x2.(with(e1,x2) & n_yo-yo(x2) & Actor(e1,x1) & v_play(e1) & n_boy(x1) & a_young(s1) & Theme(s1,x1))
exists e1 s1 x1 x2 x3.(n_yo-yo(x3) & of(x3,x2) & n_male(x2) & n_dog(x2) & Theme(e1,x2) & Actor(e1,x1) & v_walk(e1) & on(x2,x3) & n_man(x1) & a_young(s1) & Theme(s1,x1))