Built between the 16th and 17th centuries, seowon were academies that taught Confucianism - the dominant ideology of the time.