fix format Ontology and AdjacencyPairs for enroll