small changes to OntologyGraph