Input (grade 12): Beernem is a rural municipality in the Belgian province of West Flanders, located southeast of Bruges.
Output (grade 6): Beernem is a town located in the Belgian province of West Flanders.