People looking over the rail at something in the distance.
The people were all reading books in the library.
People cannot be looking over the rail and reading books at the same time
exists e1 x1 x2 x3 x4.(n_distance(x4) & n_rail(x2) & over(e1,x2) & at(x2,x3) & in(x3,x4) & n_thing(x3) & Actor(e1,x1) & v_look(e1) & n_people(x1))
exists p1 x1 x3.(n_library(x3) & n_people(x1) & all x2 e1.((n_book(x2) & Actor(e1,x2) & v_read(e1)) -> ((x1 = x2) & in(x2,x3))))