1
Composition, Parts and Wholes
COMP60421 Sean Bechhofer University of Manchester sean.bechhofer@manchester.ac.uk
Composition, Parts and Wholes COMP60421 Sean Bechhofer University - - PowerPoint PPT Presentation
Composition, Parts and Wholes COMP60421 Sean Bechhofer University of Manchester sean.bechhofer@manchester.ac.uk 1 Composition or Aggregation Forming an object whole using other objects as parts Treating complex things as a single
1
COMP60421 Sean Bechhofer University of Manchester sean.bechhofer@manchester.ac.uk
languages to support this?
2
http://www.flickr.com/photos/hartini/2429653007/
3
properties.
http://www.flickr.com/photos/aramisfirefly/4585596077
– Do the parts bear a functional or structural relationship to one another
– functional/non-functional
– Are the parts the same kind of thing as the whole? – homeomerous/non-homeomerous
– Can the parts be separated from the whole? – separable/inseparable
– We’ll consider Odell’s classification
4
associations may arise – Handle ripped from a door of the car.
5
functional non-homeomeric separable
– Car without a door handle still a Car
– Bread without flour not bread
6
functional non-homeomeric non-separable
– meter/kilometer – hour/day
– But with different quantities
7
functional homeomeric separable
8
functional homeomeric non-seperable
9
non-functional non-homeomeric separable
– a different partnership may result
10
non-functional non-homeomeric non-seperable
11
Functional Homeomeric Seperable Component-Integral
! " !
Material-Object
! " "
Portion-Object
! ! !
Place-Area
! ! "
Member-Bunch
" " !
Member-Partnership
" " "
– I am in the lecture theatre
– Catch 22 is a Book – It’s an instance of Book, not a part of it, so not Member-Bunch
– Properties of an object can be confused with composition – Height of a Lighthouse isn’t part of it
– Earrings aren’t part of Ears – Toes are part of Feet – Sometimes attachments are parts, but not always
– A bicycle has wheels – I have a bicycle
12
13
transitively. – But this is generally only true with the same kind of composition.
14
X is part of Y, Y is part of Z, thus X is part of Z isPartOf isConstituentOf isPortionOf isMemberOf ...
15
– Piston directPartOf Engine; Engine directPartOf Car – Piston is not directPartOf Car, but is a partOf Car
direct parts. – So directPartOf shouldn’t be transitive
reduction. Property: isPartOf Characteristics: Transitive Property: isDirectPartOf SubPropertyOf: isPartOf
for any x,y,z, if x R y and y R z, then z R z
property necessarily transitive
16 Property: knows Property: hasFriend SubPropertyOf: knows Characteristics: Transitive Property: hasBestFriend SubPropertyOf: hasFriend
Arthur Beth Charlie Daphne knows: hasFriend: hasBestFriend:
– All X’s have a part which is a Y – Are all Y’s a part of some X?
17
parts
identify different kinds of relationship
can (or can’t) apply transitivity.
inferences.
18
COMP60421 Sean Bechhofer sean.bechhofer@manchester.ac.uk With thanks to Robert Stevens
1
Robert Stevens.
times and where the information had been derived from.
2
3
– Given Name – Surname – Possibly Married name
– If known
– Year – Source – (Additional Notes)
4
– Individuals. – Classes (of Individuals). – Relationships between Individuals or Properties of Individuals.
– Given Name – Surname – Date of Birth
– Married Surname
Individuals. – Strings, numbers etc.
5
things that people are listed as doing are necessarily occupations)
through descriptions of the roles, but for current purposes, an asserted hierarchy is fine.
that they are playing.
6
7
Class: Person Class: Role Class: Butcher SubClassOf: Role Individual: W.G.Bright Types: Person, Butcher
8
Class: Person Class: Role Class: Butcher SubClassOf: Role ObjectProperty: hasRole Individual: Butcher-1 Types: Butcher Individual: W.G.Bright Types: Person Facts: hasRole Butcher-1
about it
information can be useful when we don’t know (or don’t care) about the particular individual.
9
Individual: Fred Types: Person Facts: hasPet Tibbs Individual: Tibbs Types: Cat Individual: Fred Types: Person that hasPet some Cat
10
Class: Person Class: Role Class: Butcher SubClassOf: Role ObjectProperty: hasRole Individual: W.G.Bright Types: Person that hasRole some Butcher
11
Class: Person Class: Role Class: Butcher SubClassOf: Role Class: RolePlayed ObjectProperty: playsRole ObjectProperty: hasRole Individual: W.G.Bright Types: Person that playsRole some (RolePlayed that hasRole some Butcher)
12
– For the purposes of this model we will take a simplified view and not consider transgender/androgeny etc. – Thus every person is either Male or Female and not both
C.Classes Male, Female, a functional ObjectProperty hasSex with Individuals being asserted to be related to anonymous Individuals of those classes.
13
14
– Start date? – End date? – Some kind of duration?
(as an integer) with the RolePlayed instance – An advantage of considering the RolePlayed as an object. – Other data types are available. e.g. for dates
15
– Where does this fact come from?
– Census Records – Birth Records – Death Records – Marriage Records
the information came from
– Distinct Individuals: Census, BirthRecord, DeathRecord etc. – Classes for Source types – Classes for Source types with Anonymous Individuals. – Would we ever want to name these?
16
Individual: William_George_Bright_1901 Types: playsRole some (RolePlayed and hasRole some Butcher and hasYear value "1929"^^integer and hasSource some MarriageRecord) Individual: James_Bright_1809 Facts: playsRole rolePlayed_001 Individual: rolePlayed_001 Types: RolePlayed and (hasRole some Seaman) Facts: hasYear “1839”^^integer
1
COMP60421 Sean Bechhofer University of Manchester sean.bechhofer@manchester.ac.uk Material kindly provided by Patrice Seyed, University of Buffalo
generalization) and part-of (for aggregation) is crucial for medical information systems.
– usage must be consistent
– The femur is part of the leg, leg is part of the body therefore femur is part of the body
– inheritance of roles along a part-whole taxonomies
inference does not hold – Transplantation of the Aorta is not a Transplantation of the Heart – Amputation of a Finger is not Amputation of the Hand. – Myocarditis is not an Inflammation of the entire Heart (Pancarditis).
2
– e.g. GRAIL – hasLocus inherited across isPartOf
– Heart Disease is a Disease located in Heart or some part of Heart
– Separate classes for the the whole of the parts (S), the whole (E) or parts (P).
potentially introduce different cognitive complexities.
3
with restricted expressiveness? – ALC does not offer transitive relationships
and where transitive roles/property chains deemed expensive)
entities
4
– Individuals that are a part of a “whole” entity – HeartS : a part of the heart or a whole heart
– HeartE : an entire heart – HeartP : a part of a heart
5 HeartS HeartE HeartP
– (BodyS, BodyE, BodyP)
– (HeartS, HeartE, HeartP)
– (MyocardiumS, MyocardiumE, MyocardiumP )
– HeartS SubClassOf: BodyP
6
HeartS HeartE HeartP MyocardiumS MyocardiumE MyocardiumP BodyS BodyE BodyP
7
Entailment based
Relationships
Class: Carditis EquivalentTo: Inflammation and (hasLocus some HeartS) Class: Myocarditis EquivalentTo: Inflammation and (hasLocus some MyocardiumS)
HeartS HeartE HeartP MyocardiumS MyocardiumE MyocardiumP Carditis hasLocus Myocarditis hasLocus
Carditis is an inflammation of the Heart or one of its parts Myocarditis is an inflammation of the Myocardium or one of its parts
8
No Entailment!
Class: Pancarditis EquivalentTo: Inflammation and (hasLocus some HeartE) Class: Myocarditis EquivalentTo: Inflammation and (hasLocus some MyocardiumS)
HeartS HeartE HeartP MyocardiumS MyocardiumE MyocardiumP Pancarditis hasLocus Myocarditis hasLocus
Pancarditis is an inflammation of the entire Heart
structure of parthood. – Rather partonomic “level” -- whether things are a whole or a part.
expressivity in the representation. – Effect on computational resources needed. – Potential effect on the cognitive complexity
9
new transitive, reflexive relationship partOf
10
Class XE Class XS EquivalentTo: XE or (partOf some XE) Class XP EquivalentTo: (partOf some XE)
X SubClassOf (partOf some Y)
11
– Encapsulates “proper” subparts (e.g. not the whole)
X SubClassOf (properPartOf some Y)
12
13 Entire Part Structure O hasLocus some HeartE hasLocus some HeartP hasLocus some HeartS A1 hasLocus some HeartE hasLocus some HeartP hasLocus some HeartS A2 hasLocus some Heart hasLocus some (partOf some Heart) hasLocus some (Heart
A3 hasLocus some Heart hasLocus some (properPartOf Heart) hasLocus some (partOf some Heart)
parthood. – Rather partonomic “level”
– Effect on computational resources needed.
14