In order to keep the animals from running away and to protect them from predators, people started keeping dogs, thus originating sheepdogs.
(people; started; keeping dogs, thus originating sheepdogs) Context(people started,List([83, 97))):(people; started keeping; dogs) Context(people started keeping,List([83, 105))):(people; started keeping dogs originating; sheepdogs)
people started,List([83, 97)) people started keeping,List([83, 105))
people people people
started started keeping started keeping dogs originating
keeping dogs, thus originating sheepdogs
dogs
sheepdogs