Two people are on a pier by the water.
People near water
It is more accurate to state that the number of people is two. Near and by are synonymous.
exists p1 x1 x3.(n_water(x3) & exists x2.(on(x1,x2) & by(x2,x3) & n_pier(x2)) & n_people(x1) & card_eq_2(x1))
exists x1 x2.(a_topic(x1) & near(x1,x2) & n_water(x2) & n_people(x1))