Download - OWL Modelling

Transcript
Page 1: OWL Modelling

OWL Modelling

Page 2: OWL Modelling

1.Building class hierarchy

Owl: Thing: superclass of all OWL classes

Electronic devices

Computer

Page 3: OWL Modelling

2. Class Hierarchy

Page 4: OWL Modelling

3.Disjoints classes

Hard DiskMouse

Page 5: OWL Modelling

3.Disjoints classes

Hard Disk Mouse

Page 6: OWL Modelling

3.Disjoints classes

Page 7: OWL Modelling

4. Relations in OWL

Page 8: OWL Modelling

4. Relations in OWL

Mother BoardComputer

hasBoard

BuildOn

Page 9: OWL Modelling

4. Relations in OWL

HardDiskComputer

hasPart

hasPart

Component

hasPart

Page 10: OWL Modelling

5. Using Conditions

Page 11: OWL Modelling

6. Individuals

Page 12: OWL Modelling

7. OWL Expresions

<owl:Class rdf:ID="Analogical"> <rdfs:subClassOf rdf:resource="#Mouse"/> <owl:disjointWith rdf:resource="#Optical"/></owl:Class>

Analogical Mouse

Page 13: OWL Modelling

7. OWL Expresions

Basic Computer

<owl:Class rdf:ID="BasicComputer"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class rdf:about="#Computer"/> <owl:Restriction> <owl:onProperty rdf:resource="#hasComponent"/> <owl:someValuesFrom rdf:resource="#Memory"/> </owl:Restriction> </owl:intersectionOf> </owl:Class> </owl:equivalentClass> </owl:Class>

Page 14: OWL Modelling

8. OWL vs. UML

UML

Class, property and ownedAttribute

Instance

Binary association

Subclass, Generalization

Association class

Enumeration

OWL

Class

Individual

Property

Subclass subproperty

Class, property

oneOf

Page 15: OWL Modelling

8. OWL vs. UML

UML

multiplicity

Derived

Package

Dependency

OWL

minCardinality, maxCardinality and inverseOf

no equivalent

Ontology

reserved name, RDF:properties

Page 16: OWL Modelling

8. OWL vs. UML

OWL features with no UML equivalent

Thing, global properties, autonomous individual

Class-specific cardinality redefinition

allValuesFrom, someValuesFrom

SymmetricProperty, TransitiveProperty

Classes as instances

Page 17: OWL Modelling