• No results found

An Intuitive Graphical Query Interface for Protégé Knowledge Bases

N/A
N/A
Protected

Academic year: 2021

Share "An Intuitive Graphical Query Interface for Protégé Knowledge Bases"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

An Intuitive Graphical

Query Interface for

Protégé Knowledge Bases

Landon Todd Detwiler,

Cornelius Rosse, Linda Shapiro

Structural Informatics Group University of Washington

(2)

Emily

Emily

Query interface for Protégé

Query interface for Protégé KBsKBs

„

„ Graphical, pointGraphical, point--andand--clickclick „

„ StandStand--alone Java application alone Java application „

„ Built on the Protégé API libraryBuilt on the Protégé API library „

„ ClassClass--toto--class relationshipsclass 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

(3)

FMA

FMA

Foundational Model of Anatomy Foundational Model of Anatomy Symbolic model of the physical Symbolic model of the physical organization of the human body organization 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

(4)

FMA Complications

FMA Complications

Space complexity Space complexity „ „ > 70,000 classes> 70,000 classes „ „ > 185,000 frames> 185,000 frames „

„ > 170 slots in use> 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

(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?

(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?

(7)

Composing a Simple Query

Composing a Simple Query

(8)

Composing a Simple Query

Composing a Simple Query

(9)

What is the heart?

What is the heart?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has superclass has superclass (directly)

(directly)

Unknown

(10)

Subject Tree

Subject Tree

(11)

Relationship Tree

Relationship Tree

(12)

Object Tree

Object Tree

(13)

What is the heart?

What is the heart?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has superclass has superclass (directly) (directly) Unknown Unknown Results Results

(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?

(15)

What are the parts of the heart?

What are the parts of the heart?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has part has part

(directly)

(directly)

Unknown

(16)

What are the parts of the heart?

What are the parts of the heart?

(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?

(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 heartEpicardium not a direct part of heart „

„ HeartHeart has part has part Wall of heartWall of heart which has part which has part

Epicardium

Epicardium

But aren’t the parts of any direct part of the But aren’t the parts of any direct part of the

Heart still a part of the Heart? Heart still a part of the Heart?

„

(19)

Relationship Tree

Relationship Tree

Directly related Transitively related

(20)

Is the epicardium a part of

Is the epicardium a part of

the heart?

the heart?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has parthas part EpicardiumEpicardium

Results

Results

(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?

(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?

(23)

Compound queries

Compound queries

Two methods for creating compound Two methods for creating compound

queries queries

„

„ Query chainingQuery chaining „

(24)

Subject:

Subject: part of the heartpart of the heart Relationship:

Relationship: is continuous withis continuous with Object:

Object: Superior pulmonary veinSuperior pulmonary vein

Which part of the heart is continuous

Which part of the heart is continuous

with the superior pulmonary vein?

(25)

Subject:

Subject: part of the heartpart of the heart

„

„ Subject: Subject: HeartHeart „

„ Relationship: Relationship: has parthas part „

„ Object: Object: UnknownUnknown

Relationship:

Relationship: is continuous withis continuous with Object:

Object: Superior pulmonary veinSuperior 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?

(26)

Subject:

Subject: U1U1 Relationship:

Relationship: is continuous withis continuous with Object:

Object: Superior pulmonary veinSuperior pulmonary vein

Which part of the heart is continuous

Which part of the heart is continuous

with the superior pulmonary vein?

(27)

Which part of the heart is continuous

Which part of the heart is continuous

with the superior pulmonary vein?

(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?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has parthas part Unknown (U1)Unknown (U1) U1

(29)

Result Sets

Result Sets

(30)

Query History Panel

Query History Panel

U1 U2

What part of the heart is

What part of the heart is

continuous with the superior

continuous with the superior

pulmonary vein?

(31)

Compound queries

Compound queries

Two methods for creating compound Two methods for creating compound

queries queries

„

„ Query chainingQuery chaining „

(32)

Set Operations

Set Operations

Results of some queries are sets Results of some queries are sets

Available operations Available operations „ „ ANDAND „ „ OROR „ „ NOTNOT

(33)

Which part of the heart is continuous

Which part of the heart is continuous

with the superior pulmonary vein?

with the superior pulmonary vein?

Subject

Subject RelationshipRelationship ObjectObject Heart

Heart has parthas part Unknown (U1)Unknown (U1) Unknown (U2)

Unknown (U2) is continuous withis continuous with Superior Superior

pulmonary vein

pulmonary vein

U1

(34)

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?

(35)

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?

(36)

Unknown Relationship

Unknown Relationship

What if the user chooses the ‘Unknown’ What if the user chooses the ‘Unknown’

node for the query relationship? node for the query relationship?

„

„ FMA is highly connectedFMA 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 pathFirst path

Assumption: The simplest path is likely to be the

Assumption: The simplest path is likely to be the

most desirable

(37)

Unknown Relationship

Unknown Relationship

Algorithm Algorithm

„

„ Direct connectionsDirect connections „

„ Transitive closure connectionsTransitive closure connections „

„ Predetermined connection typesPredetermined connection types „

(38)

What is the relationship between

What is the relationship between

the right atrium and blood

the right atrium and blood

Subject

Subject RelationshipRelationship ObjectObject Right atrium

Right atrium UnknownUnknown BloodBlood

Results

Results

Right atrium part Cavity of right atrium contains

Blood in right atrium :DIRECT-SUPERCLASSES

(39)

Issues

Issues

Translating into S

Translating into S--RR--O tripleO triple Translating into FMA terms Translating into FMA terms

Attributed relationships (e.g. right lateral Attributed relationships (e.g. right lateral

adjacency) adjacency)

(40)

Conclusion

Conclusion

Simple, point

Simple, point--andand--click query constructionclick query construction Query types Query types „ „ SimpleSimple „ „ CompoundCompound

“Real world” limits “Real world” limits

„

„ Triple formulationTriple formulation „

(41)
(42)

Future Work

Future Work

Web accessibility Web accessibility

Improved transitive closure performance Improved transitive closure performance

Attributed relationship handling Attributed relationship handling Hierarchical transitive closures Hierarchical transitive closures

Relationship synonyms Relationship synonyms

(43)

Simple Queries

Simple Queries

Subject

Subject –– Relationship Relationship –– Object tripletsObject triplets

„

„ Basic English sentence structureBasic English sentence structure „

„ Choose an icon from each fieldChoose an icon from each field „

(44)

Query chaining

Query chaining

Heart has part Unknown

Heart has part Unknown

(U1)

(45)

Query chaining

Query chaining

U1 is continuous with U1 is continuous with Unknown (U2) Unknown (U2) U1 U2

What part of the heart is What part of the heart is continuous with the superior continuous with the superior pulmonary vein?

(46)

Subject:

Subject: U1U1 Relationship:

Relationship: is continuous withis continuous with Object:

Object: UnknownUnknown

Which part of the heart is continuous

Which part of the heart is continuous

with the superior pulmonary vein?

References

Related documents