There are people feeding sheep and a dog is herding them.
people are feeding their sheep
People are feeding the sheep and a dog is herding them.
exists e1 p1 x1 x2 x3.(n_thing(x3) & Theme(e1,x3) & Actor(e1,x2) & v_herd(e1) & n_dog(x2) & exists e2 x4 x5 x6.((x1 = x4) & Theme(e2,x6) & Actor(e2,x5) & v_feed(e2) & n_sheep(x6) & (x4 = x5) & n_people(x4)))
exists e1 x1 x2.(Theme(e1,x2) & Actor(e1,x1) & v_feed(e1) & n_sheep(x2) & of(x2,x1) & n_thing(x1) & n_people(x1))