Input (grade 9): Shepton Mallet is in the Mendip local government district which is part of the county of Somerset.
Output (grade 4): Shepton Mallet is a town in the county of Somerset, England. It is in the Mendip district.