OWL Modelling
1.Building class hierarchy
Owl: Thing: superclass of all OWL classes
Electronic devices
Computer
2. Class Hierarchy
3.Disjoints classes
Hard DiskMouse
3.Disjoints classes
Hard Disk Mouse
3.Disjoints classes
4. Relations in OWL
4. Relations in OWL
Mother BoardComputer
hasBoard
BuildOn
4. Relations in OWL
HardDiskComputer
hasPart
hasPart
Component
hasPart
5. Using Conditions
6. Individuals
7. OWL Expresions
<owl:Class rdf:ID="Analogical"> <rdfs:subClassOf rdf:resource="#Mouse"/> <owl:disjointWith rdf:resource="#Optical"/></owl:Class>
Analogical Mouse
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>
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
8. OWL vs. UML
UML
multiplicity
Derived
Package
Dependency
OWL
minCardinality, maxCardinality and inverseOf
no equivalent
Ontology
reserved name, RDF:properties
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
Top Related