Usage of collapse for ontology classes