A black dog is walking along the grass sniffing at the ground.
A cat is walking in the grass.
They refer to a dog first, and then a cat.
exists e1 s1 x1 x2 x3 x4.(n_ground(x4) & n_sniffing(x2) & of(x2,x3) & n_grass(x3) & at(e1,x4) & along(e1,x2) & Actor(e1,x1) & v_walk(e1) & n_dog(x1) & a_black(s1) & Theme(s1,x1))
exists e1 x1 x2.(n_grass(x2) & in(e1,x2) & Actor(e1,x1) & v_walk(e1) & n_cat(x1))