Skip to content

phyloref/phyloref-ontology

Repository files navigation

Phyloreferencing using OWL Ontologies and Reasoning

This repository contains a phyloreferencing ontology and examples of phylogenies encoded in OWL using OWL-DL reasoning to match phyloreferences to nodes in the phylogeny.

This is entirely experimental at this point. (Re)use at your own risk. If you do, please give credit, for the time being by citing this repository.

To try out the example, load Campanulaceae.owl into Protege. Then run the reasoner, switch to the DL Query tab, and type (or paste) something like the following into the DL query field (also be sure to check "Individuals" as one of the entities returned by the query):

  • The node in the phylogeny that instantiates a phyloreference:

    has_Descendant value Campanula_latifolia and excludes_lineage_to value Lobelia
    
  • The clade defined by a phyloreference:

    has_Ancestor some (has_Descendant value Campanula_latifolia and excludes_lineage_to value Lobelia)
    
  • The tip nodes included by a phyloreference:

    TU and has_Ancestor some (has_Descendant value Campanula_latifolia and excludes_lineage_to value Lobelia)
    

This series of patterns in essence corresponds to branch-based [phylogenetic clade definitions] 1, i.e., definitions using exclusion. We can use these to build phyloreferences corresponding to node-based clade definitions (i.e., definitions using a most recent common ancestor), by using the parent of the nodes that include one but exclude the other lineage(s).

  • For example, for the most recent common ancestor of Campanula_latifolia and Lobelia, we define the parent of the two nodes that have one as descendent and exclude the other:

    has_Child some (has_Descendant value Campanula_latifolia and excludes_lineage_to value Lobelia)
    and
    has_Child some (has_Descendant value Lobelia and excludes_lineage_to value Campanula_latifolia)
    
  • We can make this shorter by defining a phyloreference for each of the two components, which we name here Campanula!Lobelia and Lobelia!Campanula:

    has_Child some Campanula!Lobelia and has_Child some Lobelia!Campanula
    
  • We can use the same pattern variations as above to obtain the whole clade or the tip nodes included by this phyloreference. For example:

    has_Ancestor some (has_Child some Campanula!Lobelia and has_Child some Lobelia!Campanula)
    

The Tetrapoda.owl example (same procedure: load into Protege, run reasoner, switch to DL Query tab) defines phyloreferences for 3 different definitions of Tetrapoda. (Note that for the DL query to return the phyloreference classes, the "Equivalent Classes" option needs to be checked.)

  • It also demonstrates use of an apomorphy-based phyloreferences:

    TU and has_Ancestor some (has_Progenitor some ('has part' some 'manual digit'))
    

IRIs, deployment and versioning

The Phyloreferencing Ontology uses as its base IRI http://ontology.phyloref.org/phyloref.owl, which is served by GitHub Pages from docs/phyloref.owl. The demonstration A-box ontologies use http://ontology.phyloref.org/demo/[Demo Name].owl as their base IRI. All of these IRIs are resolvable. A full list of demonstration ontologies can be found in the docs/demo directory.

Files served from http://ontology.phyloref.org (i.e. those in the docs/ directory) are only updated upon a new release of this ontology. Development versions of these ontologies can be found in this repository, and may be different from the files available at the canonical IRIs.

Terms of reuse

If you use the Phyloreferencing Ontology or other parts of this work in your research, for now please cite this repository.

To the extent possible under law, the Phyloreferencing Project investigators who associated CC0 with this work have waived all copyright and related or neighboring rights to the Phyloreferencing Ontology and all other ontologies maintained within this repository. Please see the file LICENSE, or http://creativecommons.org/publicdomain/zero/1.0/.