description logics introductory lecturefranconi/dl/course/slides/intro/intro.pdf · slides, lecture...

32
Description Logics Introductory Lecture Enrico Franconi [email protected] http://www.cs.man.ac.uk/˜franconi Department of Computer Science, University of Manchester (1/18)

Upload: others

Post on 09-May-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Description Logics

Introductory Lecture

Enrico Franconi

[email protected]

http://www.cs.man.ac.uk/˜franconi

Department of Computer Science, University of Manchester

(1/18)

Page 2: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Administrativia

• Class home page:

http://www.cs.man.ac.uk/∼franconi/dl/course/2002/

• All relevant information about the course.

• Slides, lecture by lecture.

• Downloadable reference articles.

• Suggested book on logic:

• “The Essence of Logic”, by John Kelly. Prentice Hall, 1997.

• Various scientific articles on the topic will be referenced during the course.

(2/18)

Page 3: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Systems⇐⇒ Agents

?

agent

percepts

sensors

actions

effectors

environment

(3/18)

Page 4: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

An agent

Consider, e.g., the task of designing an automated vehicle:

Percepts: video, accelerometers, gauges, engine sensors, keyboard, GPS, . . .

Actions: steer, accelerate, brake, horn, speak/display, . . .

Goals: safety, reach destination, maximize profits, obey laws, passenger comfort,

. . .

Environment: US urban streets, freeways, traffic, pedestrians, weather,

customers, . . .

(4/18)

Page 5: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Rational Agents

An Agent as Reasoning module of a Rational Agent.

World

input sentences

conclusions

User

?

(5/18)

Page 6: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Intelligent Agents

• An Intelligent Agent is an entity that perceives and acts according to an

internal declarative body of knowledge.

• Abstractly, an agent is a function from percept histories and internal

declarative knowledge to actions:

f : P∗×K → A

For any given class of environments and tasks, we seek the agent (or class of

agents) with the best performance

• An Intelligent Agent as Representation and Reasoning module: a logic.

• Logic: a well formalized part of agent knowledge and reasoning.

(6/18)

Page 7: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Intelligent Agents

• An Intelligent Agent is an entity that perceives and acts according to an

internal declarative body of knowledge.

• Abstractly, an agent is a function from percept histories and internal

declarative knowledge to actions:

f : P∗×K → A

For any given class of environments and tasks, we seek the agent (or class of

agents) with the best performance

• An Intelligent Agent as Representation and Reasoning module: a logic.

• Logic: a well formalized part of agent knowledge and reasoning.

(6/18)

Page 8: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Non-Intelligent Agents: Reflex Agents

AgentE

nvironment

Sensors

Effectors

What the worldis like now

What action Ishould do nowCondition−action rules

(7/18)

Page 9: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Intelligent Information Agents

World

input sentences

conclusions

User

?

The goal of an Intelligent Information Agent is to manage, process, and access

Information – e.g., a database system.

(8/18)

Page 10: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Intelligent Information Agents

World

input sentences

conclusions

User

?

The goal of an Intelligent Information Agent is to manage, process, and access

Information – e.g., a database system.

(8/18)

Page 11: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 12: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Integrity Constraints

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 13: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Integrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 14: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 15: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 16: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 17: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

QueryResult

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 18: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Deduction

QueryResult

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 19: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Deduction

QueryResult

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 20: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Agent

Deduction

QueryResult

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

(9/18)

Page 21: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The Architecture of an Intelligent Information Agent

Agent

Deduction

QueryResult

DeductionIntegrity Constraints

QueryResult

Database

LogicalSchema

ConceptualSchema

←− Data Level

←− Information Level

←− Knowledge Level

(9/18)

Page 22: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Reasoning at the Conceptual Level

LatinLoverLazy Mafioso ItalianProf

Italian

{disjoint,complete}

{disjoint}

implies

ItalianProf =⇒ LatinLover

(10/18)

Page 23: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Reasoning at the Conceptual Level

LatinLoverLazy Mafioso ItalianProf

Italian

{disjoint,complete}

{disjoint}

implies

ItalianProf =⇒ LatinLover

(10/18)

Page 24: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Processing Knowledge = “Reasoning”

Representation alone is not useful.

We want to be able to access represented knowledge and to process it.

• access alone is, in general, insufficient

• implicit knowledge has to be made explicit

; deduction methods

• the results should only depend on the semantics . . .

• and not on accidental syntactic differences in representations

(11/18)

Page 25: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Logic

Follows

Sentences

Facts

Sentence

Fact

Entails Sem

antics

Sem

antics

Representation

World

A logic allows the axiomatization of the domain information, and the drawing of

conclusions from that information.

• Syntax

• Semantics

• Logical inference = reasoning

(12/18)

Page 26: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Important Questions

• Expressive Power of representation language

; able to represent the problem

• Correctness of entailment procedure

; no false conclusions are drawn

• Completeness of entailment procedure

; all correct conclusions are drawn

• Decidability of entailment problem

; there exists a (terminating) algorithm to compute entailment

• Complexity

; resources needed for computing the solution

(13/18)

Page 27: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

What is a Logic

Clearly distinguish the definitions of:

• the formal language

• Syntax

• Semantics

• Expressive Power

• the reasoning problem (e.g., entailment)

• Decidability

• Computational Complexity

• the problem solving procedure

• Soundness and Completeness

• (Asymptotic) Complexity

(14/18)

Page 28: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

The ideal Logic

• Expressive

• With decidable reasoning problems

• With sound and complete reasoning procedures

• With efficient reasoning procedures – possibly sub-optimal

(15/18)

Page 29: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Goals of research in the field

• Study how declarative knowledge can be formally defined using a

logic-based approach.

• Give a computational account to it, in order to reproduce it in a computing

device.

(16/18)

Page 30: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Main topics of the course

• review of Classical Logic

• Structural Description Logics

• Propositional Description Logics

• Description Logics and Logics

• Description Logics and Databases

(17/18)

Page 31: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Conclusions

• A warning

• Rigorous and formal course

• Two promises

• Many examples

• Only few main important topics

(18/18)

Page 32: Description Logics Introductory Lecturefranconi/dl/course/slides/intro/intro.pdf · Slides, lecture by lecture. Downloadable reference articles. Suggested book on logic: fiThe Essence

Conclusions

• A warning

• Rigorous and formal course

• Two promises

• Many examples

• Only few main important topics

(18/18)