A tan dog runs at the beach carrying a yellow ball.
There is a dog by water with a ball.
A tan dog runs at the beach is inferred as dog by water
exists e1 s1 s2 x1 x2 x3 x4 x5.(n_beach(x3) & a_topic(x1) & at(x1,x3) & Theme(e1,x5) & Actor(e1,x4) & v_carry(e1) & n_ball(x5) & a_yellow(s2) & Theme(s2,x5) & (x3 = x4) & n_run(x1) & of(x1,x2) & n_dog(x2) & a_tan(s1) & Theme(s1,x1))
exists p1 x1 x2 x3.(by(p1,x2) & with(x2,x3) & n_ball(x3) & n_water(x2) & exists x4.((x1 = x4) & n_dog(x4)))