On this page... (hide)
- 1. Results
- 1.1 Upper-level ontology
- 1.2 Converted ontologies
- 1.3 OWLDEF
- 1.4 Summary of results
- 2. Method
1. Results
1.1 Upper-level ontology
The upper-level ontology we used is available as an OWL file: http://bioonto.gen.cam.ac.uk/reasoning/ro2.owl

1.2 Converted ontologies
The archive ro.tar.gz contains all ontology files, including the originally downloaded versions.
The individual resulting ontology files are here:
- Mammalian Phenotype Ontology
- mp-meta.owl provides basic verification of MP class definitions
- mp-meta-isa.owl includes the is-a relations from the MP
- mp-meta-isa.owl includes disambiguation patterns
- mp-meta-isa-dis.owl includes disambiguation patterns and the asserted is-a relations from the MP
- mp-plain.obo is the input file, downloaded on 25 November, 2010 from http://obofoundry.org (Sourceforge CVS currently unavailable, alternative download site at http://www.berkeleybop.org/ontologies/)
- mp-plain-dis.obo is the input file when using disambiguation patterns
- Human Phenotype Ontology
- hpo-meta.owl provides basic verification of HPO class definitions
- hpo-meta-isa.owl includes the is-a relations from the HPO
- hpo-meta-dis.owl includes disambiguation patterns
- hpo-meta-isa-dis.owl includes disambiguation patterns and the asserted is-a relations from the HPO
- human-phenotype-ontology-xp-plain.obo is the input file, downloaded on 25 November, 2010
- human-phenotype-ontology-xp-isa.obo is the input file including is-a links
- human-phenotype-ontology-xp-plain-disambiguation.obo is the input file including disambiguation patterns
- Gene Ontology, based on go_xp_all-merged.obo version 1.6, downloaded on 25 November, 2010.
- go-meta.owl provides basic verification of GO class definitions
- go-meta-noisa.owl provides basic verification of GO class definitions after removing asserted is-a relations
In each of the directories, at least one file ending with "meta.owl" is contained. This file includes the axioms pertaining to equivalent and super-relations and classes. Classifying these files using an automated OWL reasoner will reveal the inconsistent classes. We suggest the use of the HermiT reasoner.
In each package, a script called phenocheck-X.groovy is contained. This script automatically assigns the classes in the ontologies an appropriate super-class in our upper-level ontology. To use this script, information about paths must be adjusted within its code.
1.3 OWLDEF
We implemented the OWLDEF method that adds OWL definitions to relations in the OBO Flatfile Format. The software needs a jar file (Attach:obo2owl.jar) and a simple testclass to run the software (Attach:OBOTester.class and Attach:OBOTester.java). Add an OWLDEF definition to the [Typedef] statement in the OBO flatfile such as:
[Typedef] id: has-function-realized-by owldef: has-function some (realized-by only ?Y)
The OWLDEF statement is a class description in Manchester OWL Syntax with one free variable (?Y).
After this, run the conversion (make sure that obo2owl.jar is in your CLASSPATH):
java OBOTester <infile> <outfile>
1.4 Summary of results
The archive http://bioonto.gen.cam.ac.uk/reasoning/ro.tar.gz contains all results and software we produced, including software to count class definitions and relations.
2. Method
To reproduce the results, follow these steps:
- Download the ontology file containing the class definitions, e.g., from the OBO Foundry or the BioPortal.
- Identify the relations (
Typedefstatements in the OBO Format) that are used in the ontology. - Create OWLDEF definitions for these relations and add them to the appropriate
Typedefstatements. - Use the conversion based on the updated OWLDEF software (obo2owl.jar and OBOTester.class):
java OBOTester infile.obo outfile.owl - Use the
phenocheck.groovyscript to automatically assign super-classes in our minimal upper-level ontology ro2.owl.- To use the
phenocheck.groovyscript, paths must be adjusted. - To adopt
phenocheck.groovyto other upper-level ontologies, URIs must be adjusted and theid2classmap must be adjusted to reflect class names in the selected ontology. - The path to the output file of
phenocheck.groovymust be changed in the last line of the script.
- To use the
- Use an ontology editor such as Protege and create a new, empty ontology.
- Import the output OWL file from
phenocheck.groovyin this empty ontology. - (Optional)Manually assign equivalent object properties, equivalent classes as well as further axioms.
- Classify using the HermiT OWL reasoner.
- Use DL Queries and search for equivalent classes of
Nothingto identify all inconstistent class definitions.
