A woman on the beach with her dog.
A woman with an animal are on a beach.
A dog in an animal.
exists x1 x2 x3.(n_dog(x3) & of(x3,x2) & n_female(x2) & n_beach(x2) & a_topic(x1) & on(x1,x2) & with(x2,x3) & n_woman(x1))
exists p1 x1 x2.(exists x3.(on(x1,x3) & n_beach(x3)) & with(x1,x2) & n_animal(x2) & n_woman(x1))