People line up in the ocean.
People line up in the ocean for their picture.
Just because people line up it does not mean they do it for a picture.
exists x1 x2 x3.(n_ocean(x3) & a_topic(x1) & n_up(x1) & in(x1,x3) & n_line(x1) & of(x1,x2) & n_people(x2))
exists x1 x2 x3 x4.(n_picture(x4) & of(x4,x3) & n_thing(x3) & n_ocean(x3) & a_topic(x1) & n_up(x1) & in(x1,x3) & for(x3,x4) & n_line(x1) & of(x1,x2) & n_people(x2))