The black dog is walking through the dirt with a soccer ball in its mouth.
A black dog carries a ball near the beach
The black dog is not necessarily near the beach.
exists e1 s1 x1 x2 x3 x4 x5.(n_mouth(x5) & of(x5,x2) & n_thing(x2) & n_dirt(x2) & n_dog(x1) & a_black(s1) & Theme(s1,x1) & in(e1,x5) & with(e1,x3) & n_ball(x3) & of(x3,x4) & n_soccer(x4) & through(e1,x2) & Actor(e1,x1) & v_walk(e1))
exists e1 s1 x1 x2 x3.(n_beach(x3) & Theme(e1,x2) & Actor(e1,x1) & v_carry(e1) & near(x2,x3) & n_ball(x2) & n_dog(x1) & a_black(s1) & Theme(s1,x1))