Thesaurus construction through knowledge representation