Nicole Vasilevsky
ECTO Workshop
September 09, 2019
Introduction to Ontologies
Resources
Ontology resources:
https://tislab.org/ontologyResources.html
Slides:
http://bit.ly/ontology101
Part 1:
Introduction to Ontologies
Ontologies are systematic representations of knowledge that can be used to integrate and analyze large amounts of heterogeneous data
DOI: 10.1056/NEJMra1615014
Image credit: https://kyndi.com/blog/creating-knowledge-and-maximizing-the-value-of-data-with-ontologies/
What can you do with an ontology?
Organizing data
Filtering data
Connecting data
Suggesting data
Ontology Basics
What is an ontology?
Porter
Stout
Pilsner
Lager
Beer
Dark beer
Light beer
is_a
is_a
is_a
is_a
is_a
is_a
A knowledge classification of a domain, where the relationships between concepts are formally defined and logically related, which allows for computational reasoning
Key Features:
Complexity of Vocabulary Types
Example biomedical ontologies
Name some specific examples
Ontologies in Everyday Life
Ontology Structure
Elements of an Ontology
Classes
Relationships
Instances
Individuals
Concepts in the ontology, also called terms
Properties, how the classes relate to each other
Beer
is_a
is_a
is_a
is_a
is_a
is_a
Porter
Stout
Pilsner
Lager
Dark beer
Light beer
Ontologies are expressed in formal language �like Web Ontology Language (OWL)
OWL is a semantic web computational logic-based language, designed to represent rich and complex knowledge about things and the relations between them. It also provides detailed, consistent and meaningful distinctions between classes, properties and relationships.
“Why not be inconsistent in at least one aspect of a language which is all about consistency?”
- Guus Schreiber, Why OWL and not WOL?
The is_a relationship
A
B
C
Superclass
Subclass
/ Parent
/ Child
The is_a relationship
Dietary chemical entity exposure
A exposure event arising as a result of ingestion in food of chemical entity.
Dietary arsenic exposure
A exposure event arising as a result of ingestion in food of arsenic.
Ontology terms can be defined by their attributes
Beer attributes:
Define types of beer:
Label: India Pale Ale
Synonym: IPA
Text definition: Is a hoppy beer style within the broader category of pale ale.
Source: https://en.wikipedia.org/wiki/India_pale_ale
How could we logically define an IPA by its attributes?
What other attributes are needed to define your favorite beer?
Rogue Beard Beer is brewed with a yeast discovered in Brewmaster John Maier's beard
http://buy.rogue.com/beard-beer/
Ontologies model the relationships between classes
What are the classes?
What are the properties?
Ontologies textually and logically define the relationships between classes
Logical (machine readable) definition
'exposure event'
and ('has exposure stimulus' some
('chemical entity'
and ('has role' some 'flavouring agent')))
and ('causally upstream of or within' some ‘Food Consumption')
Text (human readable) definition
A exposure event arising as a result of ingestion of food containing chemicals with the role of flavouring agent.
Part 2:
How to look up ontology terms/hierarchies
Ontology Lookup Service
NCBO BioPortal
A library of ontologies and ontology related services
Query ontologies, and provides RDF supporting remote query of each ontology term and the Semantic Web
Part 3:
Participate in Ontology Communities
Expert contributions to ontologies
https://bbsrc.ukri.org/news/people-skills-training/2015/151019-n-new-pool-of-experts-and-committee-members/
Ontology issue trackers
A tracker is a place to put a formal ontology request
Examples:
Trackers have long been used in the software community for keeping track of bugs, feature requests, etc
Advantages
Tracker IDs can be referenced in ontology metadata, such as in an editor note or definition annotation
Example:
https://github.com/data2health/contributor-role-ontology/issues/13
Github: A common ontology tracker
https://github.com/EnvironmentOntology/environmental-exposure-ontology/issues
Ontology trackers
Open
Time
Discussions
How do you write a tracker request?
Want to learn more about ontologies?
Online Ontology Tutorials
Protégé Course
What: Basics of ontology development using software tool Protégé
Website: https://github.com/OHSUBD2K/BDK14-Ontologies-101
What: ROBOT tutorial
Website: https://github.com/rctauber/robot-tutorial
Name: Protégé Short Course
When: October 21-23, 2019
Where: Stanford University, Stanford, CA
Website: https://protege.stanford.edu/short-courses.php
Educational material development contributors:
Graphic Design:
Some content was adapted from:
BDK14: Introduction to OWL2 and data reasoning. https://github.com/OHSUBD2K/BDK14-Ontologies-101
Acknowledgements
Thank you!
Contact:
vasilevs@ohsu.edu
@N_Vasilevsky
https://tislab.org/ontologyResources.html
Additional slides
Developing Competency Questions
What kinds of questions would ask to query the ontology?
What kinds of results would you want to get back?
Example queries from the NCI Cancer Semantic Workshop
Dead Simple Ontology Design Patterns (DOSDP)
GitHub:https://github.com/dosumis/dead_simple_owl_design_patterns
Paper: https://jbiomedsem.biomedcentral.com/articles/10.1186/s13326-017-0126-0
Spreadsheet based ontology development
DOSDPs in the background
pattern_name: exo/patterns/exposure_to_material
classes:
exposure event: ExO:0000002
environmental material: ENVO:00010483
relations:
part of: BFO_0000050
has exposure stimulus: RO:0002309
vars:
stressor: "'environmental material'"
name:
text: "exposure to %s"
vars:
- stressor
annotations:
- property: oio:hasExactSynonym
text: "%s exposure"
vars:
- stressor
- property: oio:hasExactSynonym
text: "%s exposure event"
vars:
- stressor
def:
text: "A exposure event involving the interaction of an exposure receptor to %s. Exposure may be through a variety of means, including through the air or through ingestion."
vars:
- stressor
equivalentTo:
text: "'exposure event' and 'has exposure stimulus' some %s"
vars:
- stressor
exposure to dust
dust exposure
dust exposure event
A exposure event involving the interaction of an exposure receptor to dust. Exposure may be through a variety of means, including through the air or through ingestion.
'exposure event' and 'has exposure stimulus' some dust"