add support for sub-ontologies