Top Banner
Organization of the Lab Three meetings: today: general introduction, first steps in Protégé OWL November 19: second part of tutorial December 3: brief intro to OWL 2, assignment Grading: Assignment: report and presentation
26

Organization of the Lab Three meetings: today: general introduction, first steps in Protégé OWL November 19: second part of tutorial December 3:

Dec 13, 2015

Download

Documents

Alisha Hubbard
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Organization of the Lab

Three meetings: today: general introduction, first steps in

Protégé OWL November 19: second part of tutorial December 3: brief intro to OWL 2,

assignment

Grading: Assignment: report and presentation

Page 2: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

•Introduction to OWL

Michael Lutz

[email protected]

With modification from Barbara Hofer

Slides based on “An Introduction to RDF(S) and a Quick Tour of OWL” Slides by Matthew Horridge (University of Manchester)http://co-ode.man.ac.uk/resources/tutorials/intro/slides/OWLFoundationsSlides.pdf

Page 3: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Ontology in Computer Science

An ontology describes a formal specification

of a certain domain: Shared understanding of a domain of interest Formal and machine manipulable model of a

domain of interest

“An explicit specification of a conceptualisation” [Gruber93]

Page 4: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Ontology in Computer Science (2)

• Ontologies provide a vocabulary of terms

• New terms can be formed by combining existing ones

• Meaning (semantics) of such terms is formally specified

• Can also specify relationships between terms in multiple ontologies

Page 5: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

OWL

• … Web Ontology Language

• Standard in ontology languages from the World Wide Web Consortium (W3C).

• Built on top of RDF (Resource Description Framework) OWL semantically extends RDF(S), and based on its

predecessor language DAML+OIL.

• OWL has a rich set of modelling constructors.

• Three ‘species’: OWL-Lite, OWL-DL, OWL-Full

Page 6: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

OWL 1.0 vs. OWL 2

• OWL 1 has limitations and problems

development of OWL 2

OWL 2:

• Compatibility with existing standard

• Maintenance of decidability of OWL DL

• More expressive power and non-logical extensions

• Recommendation of W3C since late October 2009

Page 7: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

OWL 1.0 vs. OWL 2 (2)

• Protégé 3.x implements OWL 1

• Protégé 4.x implements OWL 2

• We use Protégé 3.x in the tutorial

Page 8: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

The Three Species of OWL

• OWL-Full No restrictions on how/where language constructs can

be used, but undecidable

• OWL-DL Certain restrictions on how/where language constructs

can be used in order to guarantee decidability Corresponds to a description logic

• OWL-Lite A subset of OWL-DL. The simplest and easiest to

implement of the three species.

Page 9: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Components of an OWL Ontology

• Individuals

• Classes

• Properties

Page 10: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Reasoning

• For ontologies that fall into the scope of OWL-DL, we can use a reasoner to infer information that is not explicitly represented in an ontology.

• Standard ‘reasoning services’ are: Subsumption testing Equivalence testing Consistency testing Instantiation testing

Page 11: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

OWL Classes

• OWL is an ontology language that is primarily designed to describe and define classes.

• Classes are therefore the basic building blocks of an OWL ontology.

• OWL supports six main ways of describing classes The simplest of these is a Named Class. The other types are: Intersection classes, Union

classes, Complement classes, Restrictions, Enumerated classes.

Page 12: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Named Classes

Page 13: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Intersection Classes

• Intersection Classes are formed by combining two or more classes with the intersection (AND) operator.

In description logics (and inProtege-OWL) we use the intersection symbol )⊓

Human Female⊓

Page 14: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Union Classes

• Union Classes are formed using the union (OR) operator with two or more classes.

In description logics (and inProtege-OWL) we use the union symbol ⊔

JavaProgrammer CProgrammer⊔

Page 15: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Complement Classes

• A complement class is specified by negating another class. It will contain the individuals that are not in the negated class.

In Description Logics (and in Protege-OWL) the negation symbol ¬ is used.

¬Professor Woman⊓

Page 16: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Restrictions

• Restrictions describe a class of individuals based on the type and possibly number of relationships that they participate in.

• Restrictions can be grouped into three main categories: Quantifier Restrictions (Existential , Universal ) Cardinality Restrictions (Min ≥, Equal =, Max ≤) HasValue Restriction ()

Page 17: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Existential Restrictions

• The most common type of restriction we will use is an existential restriction, which has the symbol

• The existential restriction means ‘some values from’, or ‘at least one’.

• An existential restriction describes the class of individuals that have at least one kind of relationship along a specified property to an individual that is a member of a specified class.

Page 18: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Existential Restrictions

hasColleague

Page 19: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Universal Restriction

• A universal restriction, symbolized by , means ‘all values from’ or ‘only’

• It describes the class, whose individuals, for a given property, point only to members of the class specified in the restriction

Page 20: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Universal Restriction

Page 21: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Other Restrictions

• Cardinality Restrictions For a given property, cardinality restrictions allow us

to talk about the number of relationships that a class of individuals participate in for a given property.

• HasValue Restrictions Allow us to specify a class of individuals that

participate in a specified relationship with a specific individual.

Page 22: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

hasValue Restriction

Matthew

Page 23: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Enumeration Class

• An enumeration class is specified by explicitly and exhaustively listing the individuals that are members of the enumeration class.

To specify an enumerated class, the individuals that are members of the class are listed inside curly brackets {...}

{Spain Germany France Italy}

Page 24: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Properties

• There are two main categories of properties: Object properties and datatype properties.

• Object properties link individuals to individuals.

• Datatype properties link individuals to datatype values (e.g. integers, floats, strings).

• Object properties my have an inverse property e.g. the inverse of worksFor might be employs.

• Properties can have a specified domain and range.

Page 25: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

Property Characteristics

• Functional – For a given individual, the property takes only one value.

• Inverse functional – The inverse of the property is functional.

• Symmetric – If a property links A to B then it can be inferred that it links B to A.

• Transitive – If a property links A to B and B to C then it can be inferred that it links A to C.

Page 26: Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:

OWL Summary

• OWL is the latest standard in ontology languages.

• It is layered on top of RDF and RDFS, and has a rich set of constructs.

• There are three species of OWL: OWL-Lite, OWL-DL and OWL-Full.

• We can perform automated reasoning over ontologies that are written in OWL-Lite and OWL-DL.