openhpi 4.2 - ontologies in computer science

12
This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0 ) Dr. Harald Sack Hasso Plattner Institute for IT Systems Engineering University of Potsdam Spring 2013 Semantic Web Technologies Lecture 4: Knowledge Representations I 02: Ontologies in Computer Science

Upload: harald-sack

Post on 16-Jan-2015

433 views

Category:

Education


6 download

DESCRIPTION

 

TRANSCRIPT

Page 1: OpenHPI 4.2 - Ontologies in Computer Science

This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)

Dr. Harald Sack

Hasso Plattner Institute for IT Systems Engineering

University of Potsdam

Spring 2013

Semantic Web Technologies

Lecture 4: Knowledge Representations I02: Ontologies in Computer Science

Page 2: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

2

Lecture 4: Knowledge Representations I

Open HPI - Course: Semantic Web Technologies

Page 3: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

316

02 Ontologies in Computer Science Open HPI - Course: Semantic Web Technologies - Lecture 4: Knowledge Representations I

Page 4: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

416 "An ontology is an explicit, formal specification of a shared conceptualization. The term is borrowed from philosophy, where an Ontology is a systematic account of Existence. For AI systems, what ‘exists’ is that which can be represented.“

Thomas R. Gruber: A Translation Approach to Portable Ontology Specifications.Knowledge Acquisition, 5(2):199-220, 1993.

conceptualization: abstract model (domain, identified relevant concepts, relations)

explicit: meaning of all concepts must be defined

formal: machine understandable

shared: consensus about ontology

tomgruber.org

The Concept of Ontology in Computer Science

Page 5: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

516

Conceptualization

Symbol Object

Ogden, Richards: The Meaning of Meaning: A Study of the Influence of Language upon Thought and of the Science of Symbolism (1923)

„Jaguar“

Concept

apply sharedconcept

stands for

refers tosymbolizes

Page 6: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

616

How should we represent

Ontologies?

Page 7: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

716

• Classes, Relations and Instances

• Classes represent concepts

• Classes are described via attributes

• Attributes are name value pairs

Address• given name <string>• family name <string>• street <string>• ZIP code <int>• city <string>• …

„The address contains the name, title, and place of residence of the person addressed“

Informal Description

Semi informal Description

Ontologies - Components and Models

Page 8: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

816

• Relations are special attributes, whose values are objects of (other) classes

AddressPerson

Professor Student

is subclass of

Lecture

gives visits

Course

Formal Definition: Sets m1,…mn Relation R ⊆ m1 x … x mn

has an

Ontologies - Components and Models

is subclass of

is subclass of

• Classes are related to other classes

Page 9: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

916

• For Relations and Attributes Constraints (Rules) can be defined that determine allowed values

AddressPersonhas

Professor Student

1:n

1:1

Woman

Man

Woman ⋂ Man = ∅Constraint

is subclass of

is subclass of

is subclass of is subclass of

Ontologies - Components and Models

Page 10: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

1016

• Classes, relations, and constraints can be put together to form statements / assertions

• Special Case: formal Axioms

• Axioms describe knowledge that can‘t be expressed simply with the help of other existing components.

Example: • „it is not possible to lecture two courses at

the same time“

Ontologies - Components and Models

Page 11: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

1116

• Instances describe individuals of an ontology

Course

Seminar

is subclass of

Seminar Linked DataApplication Engineering

Thursday11.00 pm A-2.1

Individuals (instances) are the basic components of an ontology. The individuals in an ontology may include concrete objects such as people, animals, tables, automobiles, molecules, and planets, as well as abstract individuals such as numbers and words.

is a

Ontologies - Components and Models

is located attakes place at

Page 12: OpenHPI 4.2 - Ontologies in Computer Science

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

1216

03 How do I define a formal model of an ontology?

Open HPI - Course: Semantic Web Technologies - Lecture 4: Knowledge Representations I