Skip to content

Import terms for logical axioms

Import terms into Mondo for use in logical axioms

These workflows for adding classes from external ontologies (i.e., GO or CHEBI), which is much more streamlined compared to MIREOTing.

Add classes from external ontologies using a Text Editor

  1. Close Protege
  2. Checkout master
  3. Create a new branch
  4. Open mondo-edit.obo with a text editor like Sublime or TextEdit
  5. Add axiom in mondo-edit.obo text file
  6. For example: relationship: disease_has_basis_in_dysfunction_of http://identifiers.org/hgnc/129
  7. Save text file
  8. open mondo-edit.obo in Protege
  9. File -> save as (obo format, save as mondo-edit.obo)
  10. Replace existing file
  11. Check diff
  12. Commit/Push

Add classes from external ontologies using Protege

  1. Select 'owl:Thing'
  2. Add a new class paste the full iri in the 'Name:' field, for example, http://purl.obolibrary.org/obo/CHEBI_50906.
  3. hit 'OK'
  4. Now you can use this term, for example to construct logical axioms. The next time the imports are refreshed, the metadata (labels, definitions, etc) for this term is imported from the respective external source ontology and becomes visible in mondo-edit.obo.
  5. See instructions on how to remake the imports file here.