Original: Shepton Mallet is in the Mendip local government district which is part of the county of Somerset.
Simplified: Shepton Mallet is a town in the county of Somerset, England. It is in the Mendip district.