Title: Introduction to OWL
1Introduction to OWL
2Introduction
- RDF
- RDFS
- OWL Ontologies
- Sub-languages
- Conclusions
3RDF - Resource Description Framework
- Directed Graph data model
- URI-based vocabulary
- XML format
- Fact assertion
- Entailment
4RDF Nodes
- 2 node types resources literals
- Statements (triples) consist of
- subject always a resource
- predicate always a resource
- object a resource or literal
urnaclRory
Rory Steele
5RDF Graph
urnaclRory
Rory Steele
urnaclFullName
urnacllocation
urnaclofficeG3a
urncrukHolborn
urncrukoffice
6RDF Schema
- A vocabulary for RDF statements
- Introduces classes and type
- Extends simple properties with notion of
inheritance, domain and range - Introduces containers Bags, Sequences, Alts and
Lists - Formalises reification of statements
7OWL
- Web Ontology Language
- Extends RDF Schema
- Makes an open world assumption
- Monotonic
- new entailments can only be added, never deleted
(though they may be contradictory) - Ontologies may consist of class declarations and
instance data
8OWL Classes
- Named classes (via URI)
- Restricted classes
- Unions (logical disjunction)
- Intersections (logical conjunction)
- Enumerations
- Complement
9Named Classes
ltowlClass rdfIDGrapegt lt/owlClassgt
ltowlClass rdfIDWineGrapegt
ltrdfssubClassOf rdfresourceGrape/gt
lt/owlClassgt
10Restricted Classes OWL Properties
- Object properties predicates from resources to
resources - Datatype properties predicates from resources
to literals - usually typed to some XML schema class (ex.
xsdinteger) - Use of domain and range on properties gives
global constraints on a property
11Domain and Range
ltowlObjectProperty rdfID"madeFromGrape"gt
ltrdfsdomain rdfresource"Wine"/gt
ltrdfsrange rdfresource"WineGrape"/gt lt/owlObje
ctPropertygt
ltowlDatatypeProperty rdfID"yearValue"gt
ltrdfsdomain rdfresource"VintageYear" /gt
ltrdfsrange rdfresource"xsdpositiveInteger"/gt lt
/owlDatatypePropertygt
12Property Restrictions
- cardinality min, max and exact
- hasValue to specific instance
- allValuesFrom universal quantifier
- someValuesFrom existensial quantifier
ltowlClass rdfID"Wine"gt ltrdfssubClassOfgt
ltowlRestrictiongt ltowlonProperty
rdfresource"madeFromGrape"/gt
ltowlminCardinality rdfdatatypexsdnonNegativeI
nteger"gt1lt/owlminCardinalitygt
lt/owlRestrictiongt lt/rdfssubClassOfgt
... lt/owlClassgt
13Property Types
- subPropertyOf
- inverseOf
- functional
- transitive
- symmetric
14Intersections
WhiteWine is exactly the intersection of the
class Wine and the set of the things that have
the colour White
ltowlClass rdfIDWhiteWinegt
ltowlintersectionOf rdfparseTypeCollection/gt
ltowlClass rdfaboutWine/gt
ltowlRestrictiongt ltowlonProperty
rdfresourcehasColour/gt
ltowlhasValue rdfresourceWhite/gt
lt/owlRestrictiongt lt/owlintersectionOfgt lt/ow
lClassgt
15Unions
ltowlClass rdfIDWinegt ltowlunionOf
rdfparseTypeCollection/gt ltowlClass
rdfaboutWhiteWine/gt ltowlClass
rdfaboutRedWine/gt ltowlClass
rdfaboutRoseWine/gt ltowlClass
rdfaboutDessertWine/gt lt/owlunionOfgt lt/ow
lClassgt
16Enumerations
ltowlClass rdfID"WineColor"gt
ltrdfssubClassOf rdfresource"WineDescriptor"/gt
ltowloneOf rdfparseType"Collection"gt
ltWineColor rdfabout"White" /gt
ltWineColor rdfabout"Rose" /gt
ltWineColor rdfabout"Red" /gt
lt/owloneOfgt lt/owlClassgt
17Complement
ltowlClass rdfIDNonFrenchWinegt
ltowlintersectionOf rdfparseTypeCollection/gt
ltowlClass rdfaboutWine/gt
ltowlcomplementOfgt ltowlonProperty
rdfresourcelocation/gt
ltowlhasValue rdfresourceFrance/gt
lt/owl complementOfgt lt/owlintersectionOfgt lt/
owlClassgt
18Disjoint Classes
ltowlClass rdfID"Pasta"gt ltrdfssubClassOf
rdfresource"EdibleThing"/gt
ltowldisjointWith rdfresource"Meat"/gt
ltowldisjointWith rdfresource"Fowl"/gt
ltowldisjointWith rdfresource"Seafood"/gt
ltowldisjointWith rdfresource"Dessert"/gt
ltowldisjointWith rdfresource"Fruit"/gt lt/owlCl
assgt
19Individuals
- Resources that have a type of an OWL Class
- Individuals may have several types
- Individuals may be declared as semantically
identical/different with the properties
owlsameAs/owldifferentFrom
ltWine rdfIDRorysFavoriteCurry"gt
ltowlsameAs rdfresource"MeatJalfrezi"/gt lt/Winegt
20OWL Sub Languages
- OWL Lite
- Class hierarchies and simple restrictions
- OWL DL (Description Logics)
- Above with extra features whilst ensuring
computational completeness and decidability - OWL Full
- Above but with no computational guarantees (ex.
Classes can also be Individuals)
21Conclusions
- Powerful ontology framework
- Formal semantics
- Open standard
- Integration with XML Schema for data primitives
- Growing number of public ontologies
- NCI Ontology
- Galen Anatomy
- Open EHR
22Future and Integration
- Tool support
- PROforma integration
- Authoring time
- Expression evaluation
- Query support
- RDQL
- XQuery
23(No Transcript)
24(No Transcript)