Model of a knowledge organization system based on ontologies