44
THE NATIONAL CENTER FOR BIOMEDICAL ONTOLOGY Ontology Web Services Trish Whetzel, PhD Outreach Coordinator

Ontology Web Services

Embed Size (px)

DESCRIPTION

Presentation from the Genomics Standards Consortium meeting, 2011.

Citation preview

Page 1: Ontology Web Services

THE NATIONAL CENTER FORBIOMEDICAL ONTOLOGY

Ontology Web Services

Trish Whetzel, PhDOutreach Coordinator

Page 2: Ontology Web Services

National Center for Biomedical Ontology

• Mission – To create software for the application of

ontologies in biomedical science and clinical care

• NCBO Partners– Stanford University - Dr. Mark A. Musen– Mayo Clinic - Dr. Christopher G. Chute– University of Buffalo - Dr. Barry Smith– University of Victoria - Dr. Margaret-Anne

Storey

Page 3: Ontology Web Services

National Centers for Biomedical Computing(http://www.ncbcs.org)

Page 4: Ontology Web Services

REST Web Services

• Accessed via HTTP– http://rest.bioontology.org/{parameter}

• Each unique URL is a representation of some object

• Operations include GET, POST, PUT, DELETE • Lightweight, easy to build

Page 5: Ontology Web Services
Page 6: Ontology Web Services

Web Services

Code

User Interface

Browser

http://bioportal.bioontology.orghttp://bioportal.bioontology.org

Page 7: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 8: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 9: Ontology Web Services

Ontology View

• A View is a subset of one or more ontologies– also referred to as a value set or slim

• Anyone can create a View – does not need to be the ontology “owner”

9

Page 10: Ontology Web Services

View Extraction Web service

• Given a term identifier, extracts all children • Parameters

– Ontology version identifier– Term identifier– Output ontology name

10

http://www.bioontology.org/wiki/index.php/View_Extraction

Page 11: Ontology Web Services

Views in BioPortal

11

Page 12: Ontology Web Services

Views in BioPortal

12

Page 13: Ontology Web Services

Using Views in Your Application

• List all views– Get list of all views in BioPortal – Get all versions of a given View

• Views are accessible via all BioPortal web services– Get term – get all details about a term – Search – find terms in a View – Widgets – form field auto-complete widget

13

Page 14: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes– RDF

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 15: Ontology Web Services

BioPortal

• Functionality– Notes

15

Page 16: Ontology Web Services

Ontology Web Services

• Access Ontologies and Views (Value sets or Slims) – Search – search by term or term identifier across all

ontologies in BioPortal – Term – get details about a term including it’s URI,

super- and sub-classes, properties– Hierarchy – get parent or children terms – Mapping – get mappings between terms – Notes – get comments/new term proposals added to

the ontology– RDF – get RDF snippet for term or entire ontology

Page 17: Ontology Web Services

Ontology Web Services

• BioPortal Search Demo

17

Page 18: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes– RDF

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 19: Ontology Web Services

Ontology Web Services

• Widgets– Jump To – auto-complete function to select term

and Jump To BioPortal to view term details– Term-selection widget – auto-complete function

and can return term URI, term ID or term name– Visualize widget – view the ontology structure and

relations– Tree widget – view the ontology tree

Code for widgets is available on BioPortal

Page 20: Ontology Web Services

Ontology Widgets

• BioPortal Widgets

Term-selection

Page 21: Ontology Web Services

Ontology Widgets

• BioPortal Widgets

RSS feed

Jump To

Page 22: Ontology Web Services

Ontology Widgets

• BioPortal Widgets

Tree widget

Visualization

Page 23: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes – RDF

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 24: Ontology Web Services

Annotator: The Basic Idea

• Tag textual metadata with ontology terms

24

Page 25: Ontology Web Services

Annotator Workflow

Page 26: Ontology Web Services

Code

Annotator Web service

Excel

UIMA platform

User Interface

Page 27: Ontology Web Services

Annotator Addin

Page 28: Ontology Web Services

Annotator Addin

Page 29: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes– RDF

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology

Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 30: Ontology Web Services

Ontology Recommender

Clement Jonquet, Mark A. Musen and Nigam H. ShahBuilding a Biomedical Ontology Recommender Web ServiceJournal of Biomedical Semantics 2010, 1(Suppl 1):S1

Page 31: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender

– Lexicon Builder • Access ontology-based

index of annotations– Resource Index

Page 32: Ontology Web Services

Lexicon Builder

www.bioontology.org/wiki/index.php/Lexicon_Builder

Page 33: Ontology Web Services

Ontology Web Services• List Ontologies

– Get ontology metadata• Create Views

– View Extraction• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 34: Ontology Web Services

Resource Index: Use Case

34

Page 35: Ontology Web Services

Resource Index: Use Case

35

Page 36: Ontology Web Services

Resource Index: Use Case

36

Page 37: Ontology Web Services

Resource Index: The Basic Idea

37

Page 38: Ontology Web Services

Resource Index: Use Case

38

Page 39: Ontology Web Services

Resource Index: Use Case

39

Page 40: Ontology Web Services

Resource Index: Use Case

40

Page 41: Ontology Web Services

NCBO Resource Index

Page 42: Ontology Web Services

Ontology Web Services• Access Ontologies and

Views (Value sets or Slims) – Search – Term – Hierarchy – Mapping – Notes – RDF

• Widgets– Auto-complete– Visualization

• Create ontology-based annotations– Annotator – Ontology Recommender – Lexicon Builder

• Access ontology-based index of annotations– Resource Index

Page 43: Ontology Web Services

Tools using NCBO Technology

43

http://www.bioontology.org/technology

Page 44: Ontology Web Services

Thank you!

• Using NCBO Technology in Your Project: http://www.bioontology.org/wiki/index.php/

Using_NCBO_Technology_In_Your_Project

• Web service documentation: http://www.bioontology.org/wiki/index.php/

NCBO_REST_services

• Questions: [email protected]