A man and his dog walk on the beach, with children in the background.
Some people and a dog are near the ocean.
A man, children, and a dog walk on the beach near the ocean.
exists s1 x1 x2 x3 x4 x5 x6.(n_background(x6) & n_beach(x4) & a_topic(s1) & subset_of(x2,s1) & on(x2,x4) & with(x4,x5) & in(x5,x6) & n_child(x5) & n_walk(x2) & of(x2,x3) & n_dog(x3) & of(x2,x1) & n_male(x1) & subset_of(x1,s1) & n_man(x1))
exists p1 x1 x2 x3 x4.(n_ocean(x4) & near(x1,x4) & subset_of(x3,x1) & n_dog(x3) & subset_of(x2,x1) & n_people(x2))