adapt ontology to the new schema