A white dog runs along the beach's shore.
A dog is on the beach's shore
You can not infer it is a dog.
exists e1 s1 x1 x2 x3.(n_shore(x3) & of(x3,x2) & n_beach(x2) & along(e1,x3) & Actor(e1,x1) & v_run(e1) & n_dog(x1) & a_white(s1) & Theme(s1,x1))
exists p1 x1 x2 x3.(n_shore(x3) & of(x3,x2) & n_beach(x2) & on(x1,x3) & n_dog(x1))