A dog plays on the beach.
A puppy plays next to the ocean.
A puppy is a dog and playing on the beach means playing next to the ocean.
exists e1 x1 x2.(n_beach(x2) & on(e1,x2) & Actor(e1,x1) & v_play(e1) & n_dog(x1))
exists e1 x1 x2.(n_ocean(x2) & to(e1,x2) & r_next(e1) & Actor(e1,x1) & v_play(e1) & n_puppy(x1))