A dog drinks water out of a water fountain.
A dog drinks water from a bowl.
The dog drinks from a water fountain not a bowl.
exists x1 x2 x3 x4 x5 x6.(a_topic(x1) & of(x4,x5) & n_fountain(x5) & of(x5,x6) & n_water(x6) & out(x1,x4) & n_thing(x4) & n_water(x1) & of(x1,x3) & n_drink(x3) & of(x1,x2) & n_dog(x2))
exists x1 x2 x3 x4.(a_topic(x1) & from(x1,x4) & n_bowl(x4) & n_water(x1) & of(x1,x3) & n_drink(x3) & of(x1,x2) & n_dog(x2))