People walking their dogs along a riverbank.
People with their dogs near a river.
The people with their dogs are near a river since they are along a riverbank.
exists e1 x1 x2 x3 x4.(a_topic(x1) & along(e1,x4) & n_riverbank(x4) & Theme(e1,x3) & Actor(e1,x2) & v_walk(e1) & n_dog(x3) & of(x3,x1) & n_thing(x1) & (x1 = x2) & n_people(x1))
exists x1 x2 x3.(a_topic(x1) & with(x1,x2) & near(x2,x3) & n_river(x3) & n_dog(x2) & of(x2,x1) & n_thing(x1) & n_people(x1))