SO:Composite Terms
SO contains cross-product definitions (aka genus-differentia definitions, aka intersection definitions) for many composite terms. This document describes the methodology. Some familiarity with the obo file format is assumed.
This document is aimed primarily at ontology editors and technical/software/database people who consume the ontologies. It isn't intended for the end-users of ontologies, much of this will be invisible to them.
Pre-crossproducts
Here is an example of a term done using the pre- crossproduct methodology:
[Term] id: SO:0000283 name: engineered_foreign_transposable_element_gene is_a: SO:0000111 ! transposable_element_gene is_a: SO:0000281 ! engineered_foreign_gene is_a: SO:0000805 ! engineered_foreign_region
This is problematic. We multiple is_a parents, due to a lack of consistent axis of classification. This leads to tangled DAGs and problems of ontology maintenance, visualisation and reasoning.
Note the editor has to manually check for possible other is_a parents such as "engineered_transposable_elemenent_gene" (ETEG). Furthermore, if ETEG is added, the is_a parentage of EFTEG must be changed. This is tedious, time consuming and error-prone.
The problems continue further up the DAG:
[Term] id: SO:0000281 name: engineered_foreign_gene is_a: SO:0000280 ! engineered_gene is_a: SO:0000285 ! foreign_gene is_a: SO:0000804 ! engineered_region
If we were to examine the whole DAG we would see a lot of redundancy, and no modularisation
Here is an example (showing *is_a* only):
The cross-products solution
The first aspect of the solution is modularity. We realise the separation between the core feature types (such as gene, region) and between the qualities (properties, attributes) of those features. Examples of feature qualities are "being engineered" and "being foreign". These live in a separate part of the ontology, and trace their is_a parentage solely to "feature_attribute", not to "located_sequence_feature".
We also introduce a new relation "has_quality", which obtains between some kind of quality-bearing entity (such as a gene) and a quality.
Using these ingredients we can provide 'Genus-differentia' definitions of terms in a form that is computationally visible. In a definition of this form, a term is defined using a broader category (the genus), and a collection characteristics that distinguish from other instances in the same category (the differentia).
http://en.wikipedia.org/wiki/Definition_by_genus_and_difference
Genus-differentia definitions form one of the core best practices in the OBO Foundry (http://www.obofoundry.org). These definitions can be written as "A <G> 'which' <D>". For example, we can define an engineered foreign transposable element gene as "A transposable element gene *which* is engineered and is foreign". The genus is "tranposable element gene" and the differentia are "is engineered" and "is foreign".
We can also expose these definitions in a way that is computationally visible. [add picture of editing in oboedit here].
obo file representation
The underlying representation in oboedit is as follows:
[Term] id: SO:0000283 name: engineered_foreign_transposable_element_gene intersection_of: SO:0000111 ! transposable_element_gene intersection_of: has_quality SO:0000783 ! engineered intersection_of: has_quality SO:0000784 ! foreign
The "intersection_of" lines list the necessary and sufficient conditions for inclusion in a class (term). For this to be a G-D definition, there should be one intersection_of line without a relation (the genus) and at least one line with a relation (the differentia).
Of course, most people will not be looking at obo files. Oboedit provides a plugin for editing these genus-differentia definitions (see below for screenshot)
Using these definitions, a computer can calculate where EFTEG should be placed in a DAG (provided similar definitions are provided for other terms). The computer can also calculate that EFTEGs should be returned in queries for ETEGs or EFRs (engineered_foreign_regions).
These caclulations are typically done with a 'reasoner'. oboedit has a reasoner built-in.
The blue squiggly lines are 'is_a's that have been inferred by oboedit using the genus-differentia definitions. They have 'not' been asserted by the person editing the ontology.
This is all well and good for oboedit users, but not everyone uses uses this tool. Whilst there are many other reasoners available, we should still provide the DAG fully classified so that there are no additional dependencies required by consumers of the ontology.
We can configure oboedit to save all inferred 'is_a' links (see issues, below). The saved file will have entries like this:
[Term] id: SO:0000283 name: engineered_foreign_transposable_element_gene intersection_of: SO:0000111 ! transposable_element_gene intersection_of: has_quality SO:0000783 ! engineered intersection_of: has_quality SO:0000784 ! foreign is_a: SO:0000111 ! transposable_element_gene is_a: SO:0000281 ! engineered_foreign_gene
We call the is_a links above 'asserted', because they are explicitly stated in the file, rather than implicitly inferred by the oboedit reasoner.
This means that software can ignore the intersection_of lines safely, the old tangled DAG can still be displayed as normal.
When the ontology with asserted 'is_a' links is viewed in oboedit, it will look like this:
The red arrows indicate asserted 'is_a' links that could have been inferred had they not been there
Obtaining
The public version of the ontology contains the logical definitions
The genus-differentia matrix can be manipulated as an excel file
Media:so-xp.xls -- generated 2006/08/25
Benefits
The management of the tangled is_a DAG is handled automatically by software, so the ontology editor does not need to worry about it. Downstream tools should not be affected.
However, second-generation tools can choose to use the intersection_of lines; they can be used to present the ontology DAG to the user in a more tractable, modular fashion. The genus in the definition can be used as the "core" is_a parent. The differentia could be presented in a separate display.
open issues
saving inferences
oboedit does not allow you to save all inferred 'is_a's. Currently so-xp is saved without the inferred is_a parents which limits its applicability to first-generation obo tools (ie those without reasoning capabilities).
Until oboedit can do this, it may be necessary to semi-manually add the is_as (oboedit shows you these visually but it doesn't provide a way to materialize them in the resulting saved obo file).
Another option is to convert to owl and use a third-party open source reasoner such as pellet to do the classification, then convert back to obo. This could all be automated in a script. The curator version (so-xp.obo) would not have the is_as, but the so.obo file that is for public consumption and use by first-generation tools would have the is_as materialised.
UPDATE: we used Pellet to do the initial classification. Results still being checked. Once John is back we can discuss ways of making it easier to save the oboedit classification results, or using obo2obo to fill these in, but Pellet seemed to work as a one-off
http://www.mindswap.org/2003/pellet/
what happens on changes?
One advantage in never asserting the inferrable 'is_a' links is never having to worry about recreating 'is_a links when the core parts of the ontology change.
For example, if we were to create an intermediate type between "gene" and "region" (for example, "functional region") and also wanted to created terms like "engineered functional region") we would simply go ahead and do that, provide genus-differentia definitions, and let the reasoner compute the is_a DAG on-the-fly.
However, as we stated earlier, we want to save the obo file with the DAG fully classified, since most tools that consume the obo file will not be reasoner-aware. We can still use oboedit to create the is_a links automatically, and configure it so that these are saved. The problem here is that change in one part of the ontology can percolate to large sections of the DAG - how do we know which links to replace and which to preserve?
One way is to keep around information on which links were asserted directly by a curator not as a result of reasoning, and which were originally asserted by the reasoner? For example, we could use trailing qualifiers:
[Term] id: SO:0000283 name: engineered_foreign_transposable_element_gene intersection_of: SO:0000111 ! transposable_element_gene intersection_of: has_quality SO:0000783 ! engineered intersection_of: has_quality SO:0000784 ! foreign is_a: SO:0000111 ! transposable_element_gene {inferred=true} is_a: SO:0000281 ! engineered_foreign_gene {inferred=true}
The reasoner would know that these could be discarded if they can no longer be inferred.
This is still under discussion. For now, these links may have to be removed manually - which is no worse than the pre-reasoner situation when everything was done manually
Re-Use
Currently SO has its own ontology of feature attributes; eventually we may want to merge this with PATO PATO:Main_Page
So also uses its own has_quality relation. Eventually it should use the version that will be in RO RO:Main_Page.
applicability of methodology to other ontologies
This work was carried out as part of a larger project within the Gene Ontology and the http://www.obofoundry.org [OBO-Foundry] to create logical and computable genus-differentia definitions for terms, linking across ontologies where appropriate. See XP:Main_Page
We are applying the same methodology to GO, although the xps are not yet part of the public release. We are focused on xps for GO terms that refer to CL terms right now.
other resources
mail lists
https://lists.sourceforge.net/lists/listinfo/obo-crossproducts
oboedit guide
Link to appropriate section of oboedit guide here...
background reading
definitions in the OBO Foundry
Forthcoming paper
Obol paper; see link on: http://www.fruitfly.org/~cjm/obol
Modularity in ontologies
These tutorials are very OWL and Protege centric, but much of it also applies to obo1.2 and oboedit:
http://www.co-ode.org/resources/tutorials/intro/
http://alley-baggett.starsporn.info http://alley-baggett.starsporn.info/map.html http://angel-alison.starsporn.info http://angel-alison.starsporn.info/map.html http://amy-reid.starsporn.info http://amy-reid.starsporn.info/map.html http://alexis-amore.starsporn.info http://alexis-amore.starsporn.info/map.html http://amy-lee.starsporn.info http://amy-lee.starsporn.info/map.html http://aliya-wolf.starsporn.info http://aliya-wolf.starsporn.info/map.html http://anetta-key.starsporn.info http://anetta-key.starsporn.info/map.html http://anette-dawn.starsporn.info http://anette-dawn.starsporn.info/map.html http://alektra-blue.starsporn.info http://alektra-blue.starsporn.info/map.html http://amanda-lexx.starsporn.info http://amanda-lexx.starsporn.info/map.html http://aneta-buena.starsporn.info http://aneta-buena.starsporn.info/map.html http://allie-sin.starsporn.info http://allie-sin.starsporn.info/map.html http://amber-campisi.starsporn.info http://amber-campisi.starsporn.info/map.html http://akira-lane.starsporn.info http://akira-lane.starsporn.info/map.html http://adriana-sage.starsporn.info http://adriana-sage.starsporn.info/map.html http://allysin-chaynes.starsporn.info http://allysin-chaynes.starsporn.info/map.html http://angel-dark.starsporn.info http://angel-dark.starsporn.info/map.html http://alexa-rae.starsporn.info http://alexa-rae.starsporn.info/map.html http://alaura-eden.starsporn.info http://alaura-eden.starsporn.info/map.html http://aja-fyne.starsporn.info http://aja-fyne.starsporn.info/map.html http://alyssa-alps.starsporn.info http://alyssa-alps.starsporn.info/map.html http://amy-sue-cooper.starsporn.info http://amy-sue-cooper.starsporn.info/map.html http://amber-bach-lynn.starsporn.info http://amber-bach-lynn.starsporn.info/map.html http://amee-donavan.starsporn.info http://amee-donavan.starsporn.info/map.html http://alisha-klass.starsporn.info http://alisha-klass.starsporn.info/map.html http://alicia-rhodes.starsporn.info http://alicia-rhodes.starsporn.info/map.html http://amber-easton.starsporn.info http://amber-easton.starsporn.info/map.html http://alison-waite.starsporn.info http://alison-waite.starsporn.info/map.html http://amber-lynn.starsporn.info http://amber-lynn.starsporn.info/map.html http://amber-evans.starsporn.info http://amber-evans.starsporn.info/map.html http://angel-eyes.starsporn.info http://angel-eyes.starsporn.info/map.html http://alexis-silver.starsporn.info http://alexis-silver.starsporn.info/map.html http://aiko-tanaka.starsporn.info http://aiko-tanaka.starsporn.info/map.html http://amber-michaels.starsporn.info http://amber-michaels.starsporn.info/map.html http://andi-sue-irwin.starsporn.info http://andi-sue-irwin.starsporn.info/map.html http://alicia-alighatti.starsporn.info http://alicia-alighatti.starsporn.info/map.html http://addison-rose.starsporn.info http://addison-rose.starsporn.info/map.html http://adele-stephens.starsporn.info http://adele-stephens.starsporn.info/map.html http://andrea-veresova.starsporn.info http://andrea-veresova.starsporn.info/map.html http://angelica-sin.starsporn.info http://angelica-sin.starsporn.info/map.html http://aimee-sweet.starsporn.info http://aimee-sweet.starsporn.info/map.html http://alexandria-karlsen.starsporn.info http://alexandria-karlsen.starsporn.info/map.html http://angel-cassidy.starsporn.info http://angel-cassidy.starsporn.info/map.html http://alana-evans.starsporn.info http://alana-evans.starsporn.info/map.html http://alesha-oreskovich.starsporn.info http://alesha-oreskovich.starsporn.info/map.html http://adrianna-faust.starsporn.info http://adrianna-faust.starsporn.info/map.html http://adriana-malkova.starsporn.info http://adriana-malkova.starsporn.info/map.html http://alyssa-lovelace.starsporn.info http://alyssa-lovelace.starsporn.info/map.html http://amber-michaels.starsporn.info http://amber-michaels.starsporn.info/map.html http://andrea-hercogova.starsporn.info http://andrea-hercogova.starsporn.info/map.html http://alexus-winston.starsporn.info http://alexus-winston.starsporn.info/map.html http://alexis-malone.starsporn.info http://alexis-malone.starsporn.info/map.html http://aaralyn-barra.starsporn.info http://aaralyn-barra.starsporn.info/map.html http://amber-rain.starsporn.info http://amber-rain.starsporn.info/map.html http://angelina-crow.starsporn.info http://angelina-crow.starsporn.info/map.html http://allura-bond.starsporn.info http://allura-bond.starsporn.info/map.html http://alexa-weix.starsporn.info http://alexa-weix.starsporn.info/map.html http://angela-little.starsporn.info http://angela-little.starsporn.info/map.html http://amber-smith.starsporn.info http://amber-smith.starsporn.info/map.html http://angela-taylor.starsporn.info http://angela-taylor.starsporn.info/map.html http://amanda-paige.starsporn.info http://amanda-paige.starsporn.info/map.html http://abigail-toyne.starsporn.info http://abigail-toyne.starsporn.info/map.html http://ander-paige.starsporn.info http://ander-paige.starsporn.info/map.html http://ananda-saint-james.starsporn.info http://ananda-saint-james.starsporn.info/map.html http://anais-alexander.starsporn.info http://anais-alexander.starsporn.info/map.html http://amber-peach.starsporn.info http://amber-peach.starsporn.info/map.html http://alexus-king.starsporn.info http://alexus-king.starsporn.info/map.html http://anastasia-christ.starsporn.info http://anastasia-christ.starsporn.info/map.html http://andrea-mrnkova.starsporn.info http://andrea-mrnkova.starsporn.info/map.html http://alexandra-silk.starsporn.info http://alexandra-silk.starsporn.info/map.html http://angela-summers.starsporn.info http://angela-summers.starsporn.info/map.html http://angelica-costello.starsporn.info http://angelica-costello.starsporn.info/map.html http://amber-rain.starsporn.info http://amber-rain.starsporn.info/map.html http://andie-valentino.starsporn.info http://andie-valentino.starsporn.info/map.html http://anastasia-mayo.starsporn.info http://anastasia-mayo.starsporn.info/map.html http://amanda-duncan.starsporn.info http://amanda-duncan.starsporn.info/map.html http://amber-sexxam.starsporn.info http://amber-sexxam.starsporn.info/map.html http://angela-taulane.starsporn.info http://angela-taulane.starsporn.info/map.html http://alexis-taylor.starsporn.info http://alexis-taylor.starsporn.info/map.html http://amy-miller.starsporn.info http://amy-miller.starsporn.info/map.html http://amber-brooks.starsporn.info http://amber-brooks.starsporn.info/map.html http://alexandra-nice.starsporn.info http://alexandra-nice.starsporn.info/map.html http://angel-long.starsporn.info http://angel-long.starsporn.info/map.html http://angela-stone.starsporn.info http://angela-stone.starsporn.info/map.html http://alyssa-west.starsporn.info http://alyssa-west.starsporn.info/map.html http://alesha-bizart.starsporn.info http://alesha-bizart.starsporn.info/map.html http://alex-arden.starsporn.info http://alex-arden.starsporn.info/map.html http://aimee-tyler.starsporn.info http://aimee-tyler.starsporn.info/map.html http://alexa-adare.starsporn.info http://alexa-adare.starsporn.info/map.html http://anastasia-pierce.starsporn.info http://anastasia-pierce.starsporn.info/map.html http://alessia-romei.starsporn.info http://alessia-romei.starsporn.info/map.html http://aj-bailey.starsporn.info http://aj-bailey.starsporn.info/map.html http://abbey-brooks.starsporn.info http://abbey-brooks.starsporn.info/map.html http://amanda-white.starsporn.info http://amanda-white.starsporn.info/map.html http://adrianna-nicole.starsporn.info http://adrianna-nicole.starsporn.info/map.html http://alex-devine.starsporn.info http://alex-devine.starsporn.info/map.html http://angelina-croft.starsporn.info http://angelina-croft.starsporn.info/map.html http://alicia-angel.starsporn.info http://alicia-angel.starsporn.info/map.html http://allie-ray.starsporn.info http://allie-ray.starsporn.info/map.html http://amy-mccarthy.starsporn.info http://amy-mccarthy.starsporn.info/map.html http://andrea-torres.starsporn.info http://andrea-torres.starsporn.info/map.html http://angela-crystal.starsporn.info http://angela-crystal.starsporn.info/map.html http://aiden-layne.starsporn.info http://aiden-layne.starsporn.info/map.html http://allison-pierce-.starsporn.info http://allison-pierce-.starsporn.info/map.html http://alexandria-quinn.starsporn.info http://alexandria-quinn.starsporn.info/map.html http://analise-hayes.starsporn.info http://analise-hayes.starsporn.info/map.html http://aaliyah-jolie.starsporn.info http://aaliyah-jolie.starsporn.info/map.html http://alana-ambrose.starsporn.info http://alana-ambrose.starsporn.info/map.html http://amber-marie.starsporn.info http://amber-marie.starsporn.info/map.html http://alex-dane.starsporn.info http://alex-dane.starsporn.info/map.html http://amber-simpson.starsporn.info http://amber-simpson.starsporn.info/map.html http://alex-del-monaco.starsporn.info http://alex-del-monaco.starsporn.info/map.html http://andrea-mirage.starsporn.info http://andrea-mirage.starsporn.info/map.html http://alex-foxe.starsporn.info http://alex-foxe.starsporn.info/map.html http://adriana-russo.starsporn.info http://adriana-russo.starsporn.info/map.html http://alexa-lynn.starsporn.info http://alexa-lynn.starsporn.info/map.html http://andy-brown.starsporn.info http://andy-brown.starsporn.info/map.html http://alexxxis-tyler.starsporn.info http://alexxxis-tyler.starsporn.info/map.html http://alexa-may.starsporn.info http://alexa-may.starsporn.info/map.html http://amy-easton.starsporn.info http://amy-easton.starsporn.info/map.html http://amanda-rain.starsporn.info http://amanda-rain.starsporn.info/map.html http://alisha-lopez-.starsporn.info http://alisha-lopez-.starsporn.info/map.html http://angela-winter.starsporn.info http://angela-winter.starsporn.info/map.html http://agnes-blond.starsporn.info http://agnes-blond.starsporn.info/map.html http://alexis-duval.starsporn.info http://alexis-duval.starsporn.info/map.html http://alexia-milano.starsporn.info http://alexia-milano.starsporn.info/map.html http://amy-warner.starsporn.info http://amy-warner.starsporn.info/map.html http://ali-kat.starsporn.info http://ali-kat.starsporn.info/map.html http://agnese-stock.starsporn.info http://agnese-stock.starsporn.info/map.html http://adel-sharp.starsporn.info http://adel-sharp.starsporn.info/map.html http://adrienne-klass.starsporn.info http://adrienne-klass.starsporn.info/map.html http://angelina-adelle.starsporn.info http://angelina-adelle.starsporn.info/map.html http://aisha-sun.starsporn.info http://aisha-sun.starsporn.info/map.html http://alexis-redd.starsporn.info http://alexis-redd.starsporn.info/map.html http://angel-madrid.starsporn.info http://angel-madrid.starsporn.info/map.html http://alexxxis-tyler.starsporn.info http://alexxxis-tyler.starsporn.info/map.html http://amy-shine.starsporn.info http://amy-shine.starsporn.info/map.html http://amber-wild.starsporn.info http://amber-wild.starsporn.info/map.html http://angelina-hart.starsporn.info http://angelina-hart.starsporn.info/map.html http://ada-costa.starsporn.info http://ada-costa.starsporn.info/map.html
http://andrea-lowell-pics-63476s.megadoors.org/
http://club-penguin-cheats-63476s.plushka.org/ http://cheat-club-penguin-63476s.bulochka.org/