A dog walks on the sand along the water.
A canine trots over the sand at the water's edge.
A dog is a type of canine, and along the water and the water's edge mean the same
exists e1 x1 x2 x3.(n_water(x3) & n_sand(x2) & on(e1,x2) & along(x2,x3) & Actor(e1,x1) & v_walk(e1) & n_dog(x1))
exists x1 x2 x3 x4 x5.(n_edge(x5) & of(x5,x4) & n_water(x4) & n_sand(x3) & a_topic(x1) & over(x1,x3) & at(x3,x5) & n_trot(x1) & of(x1,x2) & n_canine(x2))