Complex sentence: In Germany this was practiced within local communities, where shepherds selected and bred dogs that they believed had the skills necessary for herding sheep, such as intelligence, speed, strength and keen senses of smell.
Split into simpler sentences: In Germany this was practiced within local communities, where shepherds selected and bred dogs. They were believed had the skills necessary for herding sheep, such as intelligence, speed, strength and keen senses of smell.