transformation of protégé ontologies into the eclipse...

104
1 Transformation of Protégé Ontologies into the Eclipse Modeling Framework Deepak Sharma Division of Biomedical Informatics Mayo Clinic

Upload: others

Post on 18-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

1

Transformation of ProtégéOntologies into the Eclipse

Modeling Framework

Deepak SharmaDivision of Biomedical Informatics

Mayo Clinic

Page 2: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

2

Outline

• Motivation• Eclipse Modeling Framework (EMF) • EMF at work• LexGrid Model & FMA Mapping• FMA Transformation Example• Conclusion

Page 3: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

3

Outline

• Motivation• Eclipse Modeling Framework (EMF) • EMF at work• LexGrid Model & FMA Mapping• FMA Transformation Example• Conclusion

Page 4: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

4

Outline

Lots of things to talk about in short time

Page 5: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

5

Outline

Page 6: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

6

Motivation

Why do a transformation?• Native form of FMA cannot be readily integrated

into grid, databases and other terminologies• Need to transform content into a format and

structure that is readily accessible via:• Standard API’s• SQL• …

• The Mayo LexGrid model is one such candidate

Page 7: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

7

Motivation

Why EMF ?• Easy & Simple to:

• Use EMF Transformation• Integrate EMF with Protégé• Use EMF as a hub

• Successful FMA transformation

Page 8: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

8

What is EMF ?

Eclipse Modeling Framework

• Framework & Code Generation tool

• Available with Eclipse

• Modeling EMF Programming

Page 9: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

9

Eclipse Modeling Framework

EMF XML Schema

UML Java

Page 10: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

10

Eclipse Modeling Framework

• Model in XMI (XML Metadata Interchange) format

• EMF Project• ECORE• GENMODEL

• Generated Code can be customized• Easy to Update & Regenerate

Page 11: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

11

EMF

Page 12: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

12

Eclipse Modeling Frameworkhttp://www.eclipse.org/emf/

Page 13: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

13

EMF at work

•Output

•Mapping

•Protégé Content

•Model & Representation

Page 14: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

14

EMF at work

•Output

•Mapping

•Protégé Content

•Model & Representation

LexGrid XML Document

FMA to LexGrid Model

FMA

LexGrid Model in XML Schema

Page 15: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

15

EMF at workModel Representation

Page 16: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

16

EMF at workModel Representation

XML Schema

UML

Page 17: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

17

EMF at workModel Representation

XML Schema

UML

Page 18: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

18

EMF at workModel Representation (XSD)

Page 19: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

19

EMF at workModel Representation (XSD)

Page 20: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

20

EMF at workCreate an EMF Project

Page 21: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

21

EMF at workCreate an EMF Project

Page 22: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

22

EMF at workCreate an EMF Project

Page 23: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

23

EMF at workCreate an EMF Project

Page 24: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

24

EMF at workCreate an EMF Project

Page 25: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

25

EMF at workEMF Project Components

Page 26: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

26

EMF at workEMF Project Components

Page 27: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

27

EMF at workEMF Project Components

CORE

GENMODEL

Page 28: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

28

EMF at workEMF CORE Component

Page 29: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

29

EMF at workEMF CORE Component

Page 30: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

30

EMF at workEMF GENMODEL Component

Page 31: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

31

EMF at workEMF GENMODEL Component

Page 32: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

32

EMF at workGenerate Implementation

Page 33: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

33

EMF at workGenerate Implementation

Generates Implementation

Page 34: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

34

EMF at workImplementation

Page 35: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

35

EMF at workImplementation

Generated Implementation

Page 36: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

36

EMF at workXML Schema Snapshot

Page 37: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

37

EMF at workGenerated Implementation

Page 38: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

38

EMF at workGenerated Implementation

Page 39: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

39

EMF at workGenerated Implementation

More implementation

classes snapshots

Later in this presentation

Page 40: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

40

EMF at work

• Customize the implementation• Before & After Generation

• Make EMF implementation available by either :

• Create and include as an Archive• Application dependent on EMF

implementation classes.

Page 41: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

41

EMF at work

• Customize the implementation• Before & After Generation

• Make EMF implementation available by either :

• Create and include as an Archive• Application dependent on EMF

implementation classes.

Page 42: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

42

EMF at work

Page 43: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

43

EMF at work

Page 44: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

44

LexGrid Model

• Developed by Mayo Biomedical Informatics Group

• Formal model of terminology• Explicit definition of entities &

objects used in LexGrid tooling• Supports non-semantic entities (from

the toolkit perspective) as name/value pair

Page 45: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

45

LexGrid ModelInformation Model (partial)

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 46: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

46

LexGrid ModelCoding Scheme Node

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 47: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

47

LexGrid ModelInformation Model (partial)

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 48: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

48

LexGrid ModelCoded Entry

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 49: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

49

LexGrid ModelInformation Model (partial)

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 50: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

50

LexGrid ModelConcept Property

cd codingSchemes

describable

codingScheme

concepts::conceptsdescribable

relations::relations

describable

relations::association

relations::associationInstance

associatableElement

relations::associationTarget

versionableAndDescribable

concepts::codedEntry

concepts::property

concepts::comment

concepts::definition

concepts::presentation

0..1+concepts 0..*+relations

1..*+association

0..*+sourceConcept

0..*+targetConcept

1..*+concept

0..*+property

Page 51: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

51

LexGrid ModelCodedEntry Node

Concept Code

Concept Name

Property Name

Property Value

Page 52: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

52

LexGrid ModelAssociation Node

cd relations

describable

association

+ «XSDattribute» association: localName+ «XSDattribute» forwardName: tsCaseIgnoreIA5String+ «XSDattribute» isAntiReflexive [0..1]: tsBoolean [0..1]+ «XSDattribute» isAntiSymmetric [0..1]: tsBoolean [0..1]+ «XSDattribute» isAntiTransitive [0..1]: tsBoolean [0..1]+ «XSDattribute» isFunctional [0..1]: tsBoolean [0..1]+ «XSDattribute» isReflexive [0..1]: tsBoolean [0..1]+ «XSDattribute» isReverseFunctional [0..1]: tsBoolean [0..1]+ «XSDattribute» isSymmetric [0..1]: tsBoolean [0..1]+ «XSDattribute» isTransitive [0..1]: tsBoolean [0..1]+ «XSDattribute» isTranslationAssociation [0..1]: tsBoolean [0..1]+ «XSDattribute» reverseName: tsCaseIgnoreIA5String+ «XSDattribute» targetCodingScheme [0..1]: localName [0..1]

associationInstance

+ «XSDattribute» sourceCodingScheme [0..1]: localName [0..1]+ «XSDattribute» sourceConcept: conceptCode

associatableElement

associationTarget

+ «XSDattribute» targetCodingScheme [0..1]: localName [0..1]+ «XSDattribute» targetConcept: conceptCode

describable

relations

0..*+sourceConcept

0..*+targetConcept

1..*+association

Page 53: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

53

LexGrid ModelAssociation Node

cd relations

describable

association

+ «XSDattribute» association: localName+ «XSDattribute» forwardName: tsCaseIgnoreIA5String+ «XSDattribute» isAntiReflexive [0..1]: tsBoolean [0..1]+ «XSDattribute» isAntiSymmetric [0..1]: tsBoolean [0..1]+ «XSDattribute» isAntiTransitive [0..1]: tsBoolean [0..1]+ «XSDattribute» isFunctional [0..1]: tsBoolean [0..1]+ «XSDattribute» isReflexive [0..1]: tsBoolean [0..1]+ «XSDattribute» isReverseFunctional [0..1]: tsBoolean [0..1]+ «XSDattribute» isSymmetric [0..1]: tsBoolean [0..1]+ «XSDattribute» isTransitive [0..1]: tsBoolean [0..1]+ «XSDattribute» isTranslationAssociation [0..1]: tsBoolean [0..1]+ «XSDattribute» reverseName: tsCaseIgnoreIA5String+ «XSDattribute» targetCodingScheme [0..1]: localName [0..1]

associationInstance

+ «XSDattribute» sourceCodingScheme [0..1]: localName [0..1]+ «XSDattribute» sourceConcept: conceptCode

associatableElement

associationTarget

+ «XSDattribute» targetCodingScheme [0..1]: localName [0..1]+ «XSDattribute» targetConcept: conceptCode

describable

relations

0..*+sourceConcept

0..*+targetConcept

1..*+association

Source concept

Target

(concept / Data)

Page 54: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

54

LexGrid ModelAssociation Node

Page 55: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

55

LexGrid ModelAssociation Node

Body (has regional parts)HeadNeckUpper limbRight Upper limbLeft Upper limbLower limbRight Lower limbLeft Lower limbTrunk

Targets

Source

Page 56: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

56

LexGrid Modelhttp://informatics.mayo.edu

Page 57: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

57

FMA (Protégé)

Page 58: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

58

FMA (Protégé)Root Nodes

•Anatomical entity

•Attribute entity

•Anatomical transformation entity

•Dimensional entity

•Spatial association value

•Miscellaneous term

•Biological entity

“Concept name”Has > 130,000 instances

correspond to FMA concept names & add

more information to them

Page 59: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

59

FMA Mapping to LexGrid

• Both Protégé CLS and ProtégéInstance map to LexGrid Coded Entry

• Meta-Class / CLS / Instance distinction in FMA model is pragmatic decision – not “ontological”

• Most FMA classes are both• Exception is “Concept name”,

which is strictly descriptive

Page 60: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

60

FMA MappingClasses and Instances

Page 61: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

61

FMA Mapping to LexGrid

PropertyString with other values

PresentationString with values “Preferred name”, “name”, “Synonyms”, “Eng-Equivalent”

LexGridSlot type in FMASlot Type decides Category

Page 62: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

62

FMA Mapping to LexGrid

PropertyOtherProperty {true | false}Boolean

AssociationProtégé CLS or Instance

Comment:Documentation

Definition“definition”LexGridSlot type in FMA

Slot Type decides Category

Page 63: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

63

FMA Mapping to LexGrid

Presentation or its attributes

“Authority”“Source”“Language”“TA ID”“Eponym”, …

LexGridSlot type in FMA(Instances of

‘Concept name’)

Slot Type decides Category

Page 64: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

64

EMF at work

Page 65: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

65

EMF at work

Page 66: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

66

EMF at work

NOW

Create objects using Generated

EMF Classes

AND

Generate XML output file

Page 67: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

67

EMF at workGenerated Implementation Classes

Generated Implementation

Page 68: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

68

EMF at workGenerated Implementation Classes

Page 69: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

69

EMF at workGenerated Implementation Classes

Page 70: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

70

EMF at workGenerated Implementation Classes

Page 71: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

71

EMF at workFactory Classes

Page 72: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

72

EMF at workCreate Coding Scheme

Creates Coding Scheme

Page 73: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

73

EMF at workCreate Concept

Page 74: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

74

EMF at workCreate Relation

Page 75: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

75

EMF at workXML Serialization

These classes are from ECORE frameworke.g.

package org.eclipse.emf.ecore.xmi.impl

Page 76: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

76

EMF at work

Page 77: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

77

FMA (LexGrid XML Snapshot)

Page 78: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

78

FMA (LexGrid XML Snapshot)

Page 79: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

79

Transformation Example

• Concept “Body”• LexGrid Editor tool (Mayo)• Observe Mappings:

• FMA Content with Protégé• Transformed LexGrid content with

LexGrid Editor

Page 80: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

80

Concept “Body” (FMA)

Page 81: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

81

“Body” (FMA) - Attributes

Page 82: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

82

Concept “Body” (LexGrid)

Page 83: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

83

Concept “Body” (LexGrid)

Page 84: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

84

Concept “Body” (LexGrid)

Page 85: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

85

Concept “Body” (LexGrid)

CONCEPTS

BASICS

RELATIONS

Page 86: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

86

Concept “Body” (LexGrid)

Page 87: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

87

“Body” (FMA) - Attributes

Page 88: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

88

“Body” (FMA) - Attributes

Page 89: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

89

“Body” (FMA) - Attributes

Page 90: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

90

“Body” (FMA) - Attributes

Page 91: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

91

“Body” (LexGrid) - Attributes

Page 92: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

92

“Body” (LexGrid) - Attributes

Page 93: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

93

“Body” (FMA) - Relations

Page 94: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

94

“Body” (LexGrid) - Relations

Page 95: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

95

“Body” (LexGrid) - Relations

Page 96: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

96

Current Status

• Transformation tool is a Java application

• Possible to make a Protégé plug-in• Need to Isolate “Mapping to LexGrid

Model” from EMF implementation

Page 97: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

97

EMF at work

Page 98: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

98

EMF at work

Page 99: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

99

Current StatusEMF as a Hub

Available at http://informatics.mayo.edu

Page 100: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

100

Conclusion

• Easily used EMF to work with user model and generate code

• Successfully • Converted FMA content to LexGrid

Model• Used EMF to create LexGrid XML

output document• EMF as a hub

Page 101: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

101

Thanks!

• Harold Solbrig

• Thomas Johnson

• Dr. Christopher Chute

Page 102: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

102

Thanks!

Protégé Conference Organizers

Page 103: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

103

Questions ?

Page 104: Transformation of Protégé Ontologies into the Eclipse ...protege.stanford.edu/conference/2005/.../8.3_Sharma...Deepak Sharma Division of Biomedical Informatics Mayo Clinic. 2 Outline

104

Questions ?

http://informatics.mayo.edu

Deepak SharmaDivision of Biomedical InformaticsMayo [email protected]