Axiom Patterns
COMP60421 Robert Stevens University of Manchester robert.Stevens@manchester.ac.uk
1
Axiom Patterns COMP60421 Robert Stevens University of Manchester - - PowerPoint PPT Presentation
Axiom Patterns COMP60421 Robert Stevens University of Manchester robert.Stevens@manchester.ac.uk 1 Previously on COMP60421 Weve looked at operational knowledge of OWL Weve looked at acquiring knowledge to put in an ontology Weve
COMP60421 Robert Stevens University of Manchester robert.Stevens@manchester.ac.uk
1
We’ve looked at operational knowledge of OWL We’ve looked at acquiring knowledge to put in an ontology We’ve looked at formalising knowledge We’ve looked at the semantics of OWL Now we look at putting OWL axioms together in patterns to say certain things in certain ways
2
within an ontology
remember “axioms” are inferred as well as written
3
met in software construction
agreed on well accepted problems, let alone their solutions
pattern later
asserted axioms
4
– Classes: Singular nouns with initial capital letter, spaces indicated by CamelCase
“is” or “has”
annotation properties
5
Class: <#Head> Annotations: rdfs:label "Kopf"@de, rdfs:label "Testa"@it, rdfs:label "Tête"@fr, rdfs:label "Head"@en
6
does about symbols and acronyms
7
“Tomato based product”
name them differently and consistently
8
domain
describe a type of sushi
around something missing in a language
9
Class: `Margherita pizza’ SubClassOf Pizza, hasTopping some MozzarellaCheese, hasTopping some tomatoSauce
10
11
MozarellaTopping BeefTopping TomatoTopping MargheritaPizza MozarellaTopping BeefTopping TomatoTopping MargheritaPizza
I1 I2 hasTopping some TomatoTopping and hasTopping some MozarellaTopping
12
MozarellaTopping BeefTopping TomatoTopping MargheritaPizza MozarellaTopping BeefTopping TomatoTopping MargheritaPizza
I1 I2 hasTopping some TomatoTopping and hasTopping some MozarellaTopping
hasTopping only (MozzarellaTopping
13
least one hasTopping property to a mozzarella individual
don’t know
14
individuals, then the RHS can only be of the type of the RHS
a MozzarellaCheese individual)
individual, then that individual will be a MozzarellaCheese individual)
15
Class: `Margherita pizza’ SubClassOf Pizza, hasTopping some MozzarellaCheese, hasTopping some tomatoSauce hasTopping only (MozzarellaCheese or TomatoSauce)
MargheritaPizza will be of the union (MozzarellaCheese or TomatoSauce)
16
class Y or class Z”
17
The pattern: Class: X SubClassOf: (Y or Z)
Class: Sex Class: Male SubClassOf: Sex Class: Female SubClassOf: Sex Male DisjointWith: Female Sex SubClassOf: (Male or Female)
individuals of Sex
also individuals of Sex
both an individual of Male and an individual of Female (the disjointness axiom)
be an individual of either Male
(Male or Female) axiom
18
19
the same time
20
medium, large).
– Feature (Size): functional property (has_size) or class (Size). – Values: classes or individuals. – The values it can have are constrained by the range of the property.
large).
21
subclasses, the subclasses being disjoint: Size ≡ Small ∪ Medium ∪ Large Size Small Medium Large
IsA IsA IsA
Human
has_size 22
has a colour
constraints and it’s hard work
23
reasoners
24
25
languages to support this?
26
http://www.flickr.com/photos/hartini/2429653007/
properties.
27
http://www.flickr.com/photos/aramisfirefly/4585596077
– Do the parts bear a functional or structural relationship to one another or the object they constitute? – 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
28
associations may arise – Handle ripped from a door of the car.
29
functional non-homeomeric separable
– Car without a door handle still a Car
– Bread without flour not bread
30
functional non-homeomeric non-separable
– meter/kilometer – hour/day
– But with different quantities
31
functional homeomeric separable
32
functional homeomeric non-separable
33
non-functional non-homeomeric separable
– a different partnership may result
34
non-functional non-homeomeric non-separable
35
Functional Homeomeric Separable 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 – A lot of modelling is about making the right distinctions and thus helping 36
37
transitively. – But this is generally only true with the same kind of composition.
38
X is part of Y, Y is part of Z, thus X is part of Z
transitively. – But this is generally only true with the same kind of composition.
39
X is part of Y, Y is part of Z, thus X is part of Z isPartOf isConstituentOf isPortionOf isMemberOf ...
– Piston directPartOf Engine; Engine directPartOf Car – Piston is not directPartOf Car, but is a partOf Car
its direct parts. – So directPartOf shouldn’t be transitive
reduction.
40
– Piston directPartOf Engine; Engine directPartOf Car – Piston is not directPartOf Car, but is a partOf Car
its direct parts. – So directPartOf shouldn’t be transitive
reduction.
41
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 – Transitivity is not “inherited” by subproperties. – Nor is a superproperty of a transitive – property necessarily transitive
42 Property: knows Property: hasFriend SubPropertyOf: knows Characteristics: Transitive Property: hasBestFriend SubPropertyOf: hasFriend
– All X’s have a part which is a Y – Are all Y’s a part of some X?
43
parts
identify different kinds of relationship
can (or can’t) apply transitivity.
inferences.
44
45
work of fiction, a big book, written in English, and a fantasy book
46
47
together again
(based on an alpha-carbon with an amino and carboxylic acid group);and so
48
Amino Acids
Charge
Size • Tiny
Polarity
Hydrophobicity
49
capture other axes
50
reasoners
51
Class: AminoAcid SubClassOf: hasSize some Size, hasPolarity some Polar, hasCharge some Charge, hasHydrophobicity some hydrophobicity
52
Class: Lysine SubClassOf: AminoAcid, hasSize some Large, hasCharge some Positive, hasPolarity some Polar, hasHydrophobicity some Hydrophilic
53
Class: LargeAminoAcid EquivalentTo: AminoAcid and hasSize some Large Class: PositiveAminoAcid EquivalentTo: AminoAcid and hasCharge some Positive Class: LargePositiveAminoAcid EquivalentTo: LargeAminoAcid and PositiveAminoAcid
54
– Normalisation – EPQ – Closure (via it’s functional properties – A covering axiom for all the amino acids – It’s own pattern for amino acids – There is more information via
– http://robertdavidstevens.wordpress.com/2010/12/18/an-update- to-the-amino-acids-ontology/
55
56
57
business, medicine, …
are the two major divisions that many upper ontologies make
sorted it out)
58
59
– Process – Immaterial – Material – Properties
– Sites
60
changes
61
62
63
infelicities of a language
64