Two dogs, one brown and the other black, play in the surf in the shallow ocean water.
two dogs are near the ocean.
Dogs playing in the surf in shallow ocean water implies they are near the ocean.
exists s1 s2 s3 s4 x1 x2 x3 x4 x5 x6 x7 x8.(n_water(x6) & of(x6,x8) & n_ocean(x8) & of(x6,x7) & n_shallow(x7) & n_surf(x5) & -(x4 = x4) & n_play(x4) & a_,(s4) & Theme(s4,x4) & a_black(s3) & Theme(s3,x4) & a_,(s2) & Theme(s2,x4) & a_black(s1) & Theme(s1,x4) & a_topic(x1) & rel(x1,x2) & subset_of(x4,x2) & in(x4,x6) & in(x4,x5) & subset_of(x3,x2) & n_brown(x3) & card_eq_1(x3) & n_dog(x1) & card_eq_2(x1))
exists p1 x1 x2.(n_ocean(x2) & near(x1,x2) & n_dog(x1) & card_eq_2(x1))