Complex sentence: Mästerby is the name of the socken, now district, it is also the name of the small village surrounding the medieval Mästerby Church, sometimes referred to as "Mästerby kyrkby".
Split into simpler sentences: Mästerby is the name of the socken, now district. It is also the name of the small village surrounding the medieval Mästerby Church, sometimes referred to as "Mästerby kyrkby".