A three-level approach to ontology merging