The brown dog is running parallel to the waves in the water.
A dog is playing with a girl alongside the water on a beach.
There is no indication in the first sentence that the dog is playing with a girl alongside the water on a beach.
exists e1 s1 x1 x2 x3 x4.(n_water(x4) & n_wave(x3) & n_dog(x1) & a_brown(s1) & Theme(s1,x1) & in(e1,x4) & to(e1,x3) & Theme(e1,x2) & Actor(e1,x1) & v_run(e1) & n_parallel(x2))
exists e1 x1 x2 x3 x4.(n_water(x3) & on(e1,x4) & n_beach(x4) & with(e1,x2) & alongside(x2,x3) & n_girl(x2) & Actor(e1,x1) & v_play(e1) & n_dog(x1))