SLIDE 1
An Intuitive Graphical Query Interface for Protégé Knowledge Bases
Landon Todd Detwiler, Cornelius Rosse, Linda Shapiro Structural Informatics Group University of Washington
SLIDE 2 Emily Emily
Query interface for Prot Query interface for Proté ég gé é KBs KBs
Graphical, point-
and-
click
Stand-
alone Java application
Built on the Proté ég gé é API library API library
Class-
to-
class relationships
Foundational Model of Anatomy (FMA) Foundational Model of Anatomy (FMA) Goal: Usable by novice users with little Goal: Usable by novice users with little instruction instruction
SLIDE 3 FMA FMA
Foundational Model of Anatomy Foundational Model of Anatomy Symbolic model of the physical Symbolic model of the physical
- rganization of the human body
- rganization of the human body
Goals Goals
- Foundation for interoperability between
Foundation for interoperability between biological domains biological domains
- Basis for the construction of intelligent
Basis for the construction of intelligent biomedical applications biomedical applications
SLIDE 4 FMA Complications FMA Complications
Space complexity Space complexity
> 70,000 classes
> 185,000 frames
> 170 slots in use
- > 1.5 million slot values
> 1.5 million slot values
Classes without the instances (individuals) Classes without the instances (individuals) Existing tools and the FMA Existing tools and the FMA
SLIDE 5
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 6
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 7
Composing a Simple Query Composing a Simple Query
SLIDE 8
Composing a Simple Query Composing a Simple Query
Subject Object Relationship
SLIDE 9
What is the heart? What is the heart?
Unknown Unknown has superclass has superclass (directly) (directly) Heart Heart Object Object Relationship Relationship Subject Subject
SLIDE 10
Subject Tree Subject Tree
SLIDE 11
Relationship Tree Relationship Tree
SLIDE 12
Object Tree Object Tree
SLIDE 13
What is the heart? What is the heart?
Unknown Unknown has superclass has superclass (directly) (directly) Heart Heart Object Object Relationship Relationship Subject Subject Organ with cavitated organ parts Results Results
SLIDE 14
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 15
What are the parts of the heart? What are the parts of the heart?
Unknown Unknown has part has part (directly) (directly) Heart Heart Object Object Relationship Relationship Subject Subject
SLIDE 16
What are the parts of the heart? What are the parts of the heart?
SLIDE 17
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 18 Is the epicardium a part of Is the epicardium a part of the heart? the heart?
Why was Epicardium not in the previous Why was Epicardium not in the previous result set? result set?
- Epicardium not a direct part of heart
Epicardium not a direct part of heart
Heart has part has part Wall of heart Wall of heart which has part which has part Epicardium Epicardium
But aren But aren’ ’t the parts of any direct part of the t the parts of any direct part of the Heart still a part of the Heart? Heart still a part of the Heart?
- Yes, because part is transitive
Yes, because part is transitive
SLIDE 19
Relationship Tree Relationship Tree
Directly related Transitively related
SLIDE 20
Is the epicardium a part of Is the epicardium a part of the heart? the heart?
Epicardium Epicardium has part has part Heart Heart Object Object Relationship Relationship Subject Subject Yes Results Results
SLIDE 21
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 22
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
What is the Subject? What is the Subject? What is the Relationship? What is the Relationship? What is the Object? What is the Object?
SLIDE 23 Compound queries Compound queries
Two methods for creating compound Two methods for creating compound queries queries
Query chaining
Set operations
SLIDE 24
Subject: Subject: part of the heart part of the heart Relationship: Relationship: is continuous with is continuous with Object: Object: Superior pulmonary vein Superior pulmonary vein
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
SLIDE 25 Subject: Subject: part of the heart part of the heart
Subject: Heart Heart
Relationship: has part has part
Object: Unknown Unknown
Relationship: Relationship: is continuous with is continuous with Object: Object: Superior pulmonary vein Superior pulmonary vein
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
U1
SLIDE 26
Subject: Subject: U1 U1 Relationship: Relationship: is continuous with is continuous with Object: Object: Superior pulmonary vein Superior pulmonary vein
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
SLIDE 27
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
SLIDE 28
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
Unknown (U2) Unknown (U2) is continuous with is continuous with U1 U1 Unknown (U1) Unknown (U1) has part has part Heart Heart Object Object Relationship Relationship Subject Subject
SLIDE 29
Result Sets Result Sets
SLIDE 30 Query History Panel Query History Panel
U1
SLIDE 31 Query History Panel Query History Panel
U2
SLIDE 32 Query History Panel Query History Panel
What part of the heart is What part of the heart is continuous with the superior continuous with the superior pulmonary vein? pulmonary vein?
SLIDE 33 Compound queries Compound queries
Two methods for creating compound Two methods for creating compound queries queries
Query chaining
Set operations
SLIDE 34 Set Operations Set Operations
Results of some queries are sets Results of some queries are sets Available operations Available operations
AND
OR
NOT
SLIDE 35
Which part of the heart is continuous Which part of the heart is continuous with the superior pulmonary vein? with the superior pulmonary vein?
Superior Superior pulmonary vein pulmonary vein is continuous with is continuous with Unknown (U2) Unknown (U2) U2 U2 AND AND U1 U1 Unknown (U1) Unknown (U1) has part has part Heart Heart Object Object Relationship Relationship Subject Subject
SLIDE 36 Set Operations Set Operations
What part of the heart is What part of the heart is continuous with the superior continuous with the superior pulmonary vein? pulmonary vein?
SLIDE 37
Example Questions Example Questions
What is the heart? What is the heart? What are the parts of the heart? What are the parts of the heart? Is the epicardium a part of the heart? Is the epicardium a part of the heart? Which part of the heart is continuous with Which part of the heart is continuous with the superior pulmonary vein? the superior pulmonary vein? What is the relationship between the What is the relationship between the right atrium and blood? right atrium and blood?
SLIDE 38 Unknown Relationship Unknown Relationship
What if the user chooses the What if the user chooses the ‘ ‘Unknown Unknown’ ’ node for the query relationship? node for the query relationship?
FMA is highly connected
Many paths between classes Many paths between classes Not practical (nor useful) to find all paths Not practical (nor useful) to find all paths
First path
Assumption: The simplest path is likely to be the Assumption: The simplest path is likely to be the most desirable most desirable
SLIDE 39 Unknown Relationship Unknown Relationship
Algorithm Algorithm
Direct connections
- Transitive closure connections
Transitive closure connections
- Predetermined connection types
Predetermined connection types
Depth-
limited breadth-
first search
SLIDE 40
What is the relationship between What is the relationship between the right atrium and blood the right atrium and blood
Blood Blood Unknown Unknown Right atrium Right atrium Object Object Relationship Relationship Subject Subject Right atrium part Cavity of right atrium contains Blood in right atrium :DIRECT-SUPERCLASSES Blood Results Results
SLIDE 41 Issues Issues
Translating into S Translating into S-
R-
O triple Translating into FMA terms Translating into FMA terms Attributed relationships (e.g. right lateral Attributed relationships (e.g. right lateral adjacency) adjacency)
SLIDE 42 Conclusion Conclusion
Simple, point Simple, point-
and-
click query construction Query types Query types
Simple
Compound
“ “Real world Real world” ” limits limits
Triple formulation
Knowledge base content
SLIDE 43