read ontology into memory