A group of people on the beach run in the sand away from the water.
There is a group of people swimming in the ocean
One cannot be running in the sand from the waves while swimming in the ocean.
exists x1 x2 x3 x4 x5 x6 x7.(n_water(x7) & n_sand(x5) & n_run(x3) & of(x3,x4) & n_beach(x4) & a_topic(x1) & from(x6,x7) & away(x1,x6) & n_thing(x6) & on(x1,x3) & in(x3,x5) & of(x1,x2) & n_people(x2) & n_group(x1))
exists p1 x1 x5.(n_ocean(x5) & exists e1 x2 x3 x4.((x1 = x2) & of(x2,x3) & in(e1,x5) & Actor(e1,x4) & v_swim(e1) & (x3 = x4) & n_people(x3) & n_group(x2)))