SlideShare une entreprise Scribd logo
1  sur  34
Knowledge Representation & Reasoning
By Ms Jawairya Bukhari

OWLEDGE REPRESENTATION & REASONING - Lecture 1

1
Overview


Aims


Development of skills in Knowledge
Representation & Reasoning



Understanding of various different
ways to represent and reason with
knowledge



Practical Applications of Knowledge
Representation & Reasoning



Motives for Research

OWLEDGE REPRESENTATION & REASONING - Lecture 1

2
Overview


Prerequisites:


Artificial Intelligence
• Search Algorithms



Logic
• Propositional & First Order Logic



Algorithms & Data Structures
• Algorithmic Complexity



Programming!
• C ∨ C++ ∨ Java

OWLEDGE REPRESENTATION & REASONING - Lecture 1

3
Overview


Bibliography:


General stuff on AI
• Artificial Intelligence: A Modern Approach, Russell & Norvig
• http://www.cs.berkeley.edu/~russell/aima.html
• http://aima.cs.berkeley.edu/
• Artificial Intelligence: A New Synthesis, Nilsson
• Essentials of Artificial Intelligence: Ginsberg



Knowledge Representation
• Knowledge Representation and Reasoning, Ronald J. Brachman, Hector J. Levesque



Constraint Programming
• Constraint Processing, Rina Dechter



LOTS OF PAPERS…
• More after specific lectures

OWLEDGE REPRESENTATION & REASONING - Lecture 1

4
ΑΙ and KR


A description of Artificial
Intelligence is:




The study and development of systems
that demonstrate intelligent behavior

Based on the above, a description
of Knowledge Representation
& Reasoning is:


The study of ways to represent and
reason with information in order to
achieve intelligent behavior

OWLEDGE REPRESENTATION & REASONING - Lecture 1

KR&R is the part of AI that is
concerned with thinking and
how thinking contributes to
intelligent behavior

5
What is KR&R?


There are many ways to approach the topic of intelligence and
intelligent behavior




KR suggests an approach to understanding intelligent behavior that is
radically different






neuroscience, psychology, evolution, philosophy

Instead of studying humans very carefully (biology, nervous systems,
psychology, sociology, etc.), it argues that what we need to study is what
humans know.
It is taken as a given that what allows humans to behave intelligently is that
they know a lot of things about a lot of things and are able to apply this
knowledge as appropriate to adapt to their environment and achieve their goals.

KR&R focuses on the knowledge, not on the knower. We ask what
any agent—human, animal, electronic, mechanical—would need to
know to behave intelligently, and what sorts of computational
mechanisms might allow its knowledge to be manipulated.

OWLEDGE REPRESENTATION & REASONING - Lecture 1

6
Knowledge


What is knowledge? This is a question that has been discussed by philosophers
since the ancient times, and it is still not totally clarified.




Observe that when we say something like “John knows that …,” we fill in the blank
with a simple





“John knows that Mary will come to the party,”
“John knows that Spain won the Euro”

Among other things, knowledge is a relation between a knower and a proposition





Will not attempt to define it formally…

knower : John
proposition: the idea expressed by a simple declarative sentence, like “Mary will come
to the party.”

What can we say about propositions? For KR&R, what matters about propositions is
that they are abstract entities that can be true or false, right or wrong.


When we say, “John knows that p,” we can just as well say, “John knows that it is true
that p.”

OWLEDGE REPRESENTATION & REASONING - Lecture 1

7
Representation


Roughly, representation is a relationship between two domains,
where the first is meant to “stand for” or take the place of the second.


Usually, the first domain, the representor, is more concrete, immediate, or
accessible in some way than the second.
• For example, a drawing of a hamburger on a sign might stand for a less immediately
visible fast food restaurant;
• an elected member of parliament might stand for his or her constituency.



The type of representor that we will be most concerned with here is the formal
symbol, that is, a character or group of characters taken from some
predetermined alphabet.
• The digit “7,” for example, stands for the number 7, as does the group of letters “VII”



Knowledge representation, then, is the field of study concerned with using
formal symbols to represent a collection of propositions believed by some
agent.

OWLEDGE REPRESENTATION & REASONING - Lecture 1

8
& Reasoning


What is reasoning? In general, it is the formal manipulation of the
symbols representing a collection of believed propositions to produce
representations of new ones.


Here that we use the fact that symbols are more accessible than the propositions
they represent: They must be concrete enough that we can manipulate them
(move them around, take them apart, copy them, string them together) in such a
way as to construct representations of new propositions.
• We might start with the sentences “John loves Mary” and “Mary is coming to the
party” and after a certain amount of manipulation produce the sentence, “Someone
John loves is coming to the party”
• We would call this form of reasoning logical inference because the final sentence
represents a logical conclusion of the propositions represented by the initial ones



Reasoning is a form of calculation, not unlike arithmetic, but over
symbols standing for propositions rather than numbers

OWLEDGE REPRESENTATION & REASONING - Lecture 1

9
How can knowledge be represented ?


Symbolic methods










Declarative Languages (Logic)
Imperative Languages (C, C++, Java, etc.)
Hybrid Languages (Prolog)
Rules
Frames
Semantic Networks
…

Non – symbolic methods



Neural Networks
Genetic Algorithms

OWLEDGE REPRESENTATION & REASONING - Lecture 1

10
Symbolic Methods of Knowledge
Representation
Natural Language
Frames

First Order Logic

Semantic Networks

Rules

Hybrid systems

XML/RDF

C/C++/Java

Non-monotonic Logic
Constraints

Prolog

Ontologies
Scripts

OWLEDGE REPRESENTATION & REASONING - Lecture 1

Fuzzy logic

Bayes Networks

Description Logics
Propositional Logic
11
What does Knowledge Representation include ?















Exception Tolerant and Inconsistency-Tolerant Reasoning, Default
Logics, Conditional Logics, Paraconsistent Logics, Argumentation
Temporal Reasoning, Spatial reasoning, Causal Reasoning,
Abduction, Explanations, Extrapolation, Model-based diagnosis
Reasoning about Actions, Situation Calculus, Action Languages,
Dynamic Logic
Reasoning, Planning, and Decision Making under Uncertainty,
Probabilistic and Possibilistic approaches, Belief Functions and
Imprecise Probabilities
Representations of Vagueness, Many-valued and Fuzzy Logics,
Concept Formation, Similarity-based reasoning
Information Change, Belief Revision, Update
Information Fusion, Ontologies, Ontology Methodology, and
Ontologies themselves
Qualitative reasoning and decision theory, Preference modelling,
Reasoning about preference, reasoning about physical systems

OWLEDGE REPRESENTATION & REASONING - Lecture 1

12
What does Knowledge Representation include ?














Intelligent agents, negotiation, group decision making,
cooperation, interaction, game theory, common knowledge,
cognitive robotics
Algebraic foundations of knowledge representations, graphical
representations
Modal logics and reasoning, belief, preference networks,
constraints
Knowledge representation languages, Description logics, Logic
programming, SAT, constraint programming, inductive logic
programming, complexity analysis
Natural language processing, learning, discovering and acquiring
knowledge, belief networks, summarization, categorization
Applications of KR&R, Knowledge-based Scheduling, WWW
querying languages, Information retrieval and web mining,
Website selection and configuration, Electronic commerce and
auctions
Philosophical foundations and psychological evidence

OWLEDGE REPRESENTATION & REASONING - Lecture 1

13
Types of Knowledge


Declarative Knowledge




E.g.





Description of notions, facts, and rules of the world

For each lecture there is a specific time and place
Only one lecture can take place at each time and place

Descriptional knowledge, non procedural, independent of
targets and problem solving

OWLEDGE REPRESENTATION & REASONING - Lecture 1

14
Types of Knowledge


Procedural Knowledge






E.g.





Description of procedures required to achieve targets
Knowledge of the order in which actions must be performed
Heuristic knowledge

To construct the exams timetable, assign first the classes of the first year
To reach Athens faster, take the airplane

It depends on the targets and problems

OWLEDGE REPRESENTATION & REASONING - Lecture 1

15
Types of Knowledge


Basic Difference


declarative knowledge is right or wrong
• Lectures are on Wednesdays



procedural knowledge can be executed
• the procedure of constructing the exams timetable



Which of the two interests us ?


Both of course

OWLEDGE REPRESENTATION & REASONING - Lecture 1

Knowledge Representation
&
Reasoning

16
The Language of Propositional Logic


Before any system aspiring to intelligence can even begin to reason,
learn, plan, or explain its behavior, it must be able to formulate the
ideas involved.




So we need to start with a language, in terms of which knowledge can
be formulated. We will examine in detail one specific language that
can be used for this purpose: the language of propositional logic




You will not be able to learn something about the world around you, for
example, if it is beyond you to even express what that thing is.

Propositional logic is not the only choice, of course, but is a simple and
convenient one to begin with.

What does it mean to “have” a language? Once we have a set of words
or a set of symbols of some sort, what more is needed? As far as we
are concerned, there are two main things:


A KR language is defined by its syntax and its semantics

OWLEDGE REPRESENTATION & REASONING - Lecture 1

17
Syntax of a KR language


We need to specify which groups of symbols, arranged in
what way, are to be considered properly formed.




In English, for example, the string of words “the cat my mother loves” is
a well-formed phrase, but “the my loves mother cat” is not.

The syntax consists of a set of symbols used by the
language and a set of rules according to which the symbols
can be combined to form proper sentences

OWLEDGE REPRESENTATION & REASONING - Lecture 1

18
Semantics of a KR language


We need to specify what the well-formed expressions are supposed to
mean.


Some well-formed expressions like “the recently divorced decimal holiday”
might not mean anything. We need to be clear about what idea about the world
is being expressed.



The semantics determine a mapping between symbols, combinations
of symbols, propositions of the language and concepts of the world to
which they refer



A proposition in a KR language does not mean anything on its own


The semantics (i.e. the meaning) of the proposition must be defined by the
language author through an interpretation

OWLEDGE REPRESENTATION & REASONING - Lecture 1

19
Knowledge Representation Languages




An expression is true under a certain interpretation if the
facts of the real world that it represents are valid
We say that a proposition α is entailed by a set of
propositions s when whenever the set of propositions s is
true then α is true


entailment is usually notated by s |= α

proposition
representation

entails

proposition

semantics

semantics

fact

fact

Real world

OWLEDGE REPRESENTATION & REASONING - Lecture 1

entails

20
Desired Features of KR languages


Epistemological Level





Logical Level






Clarity
Expressiveness

CONFLICT !

Elegant syntax & semantics
Decidability / Tractability
Sound and complete inference mechanism

Implementation Level



Space & Time efficiency
Extensibility

OWLEDGE REPRESENTATION & REASONING - Lecture 1

21
Expressiveness vs. Tractability


Assume you are requested to describe a painting. You can use either
of the following languages
1.
2.



Your descriptions are:
1.

2.




The Greek language. I.e. all syntactically and semantically correct statements in
Greek
The tiny subset of the Greek language that only includes words “ωραίος”,
“άσχημος”
“Ο πίνακας αυτός είναι διανθισμένος με εξαίσιες πινελιές χρωμάτων που
τονίζουν την ομορφιά του τοπίου που απεικονίζει ο καλλιτέχνης. Από την άλλη
εύκολα εντοπίζει κανείς και συγκεκριμένες ατέλειες που κυρίως αφορούν την
προοπτική....”
“ωραίος”

Which description is more accurate/expressive?
Which description allows you to answer the query “είναι ο πίνακας
ωραίος?” faster?

OWLEDGE REPRESENTATION & REASONING - Lecture 1

22
Logic for KR


Historically logic is the first KR language



1959-1965: First Order Logic is the KR language for AI
1965: Resolution (Robinson) means real hope for universally applicable
proof method
• computational & representational problems



1970s: Rivals emerge (semantic networks, rules, frames)
• unclear semantics & inference



1975: Logic Programming (Kowalski)
• decrease expressivity to increase efficiency
• declarative & procedural knowledge in one language



1980…: Non-monotonic reasoning (McCarthy,Reiter)
• common sense knowledge

OWLEDGE REPRESENTATION & REASONING - Lecture 1

23
Advantages of Logic for KR


Like all declarative languages:








compact
task-independent
modular representation
resusable, flexible, maintainable

Logic has formal well defined semantics
Logic is expressive





incomplete knowledge
temporal logics
second order logic
…

OWLEDGE REPRESENTATION & REASONING - Lecture 1

24
Disadvantages of Logic for KR


Inefficiency !!!


implementation level



Difficulty in describing procedural knowledge



Expressivity vs. Tractability



the more expressive the less tractable
“Problem solving based on expressive logics is impossible”

In the worst case !


Why ?
• expressiveness

broader problems => harder problems

OWLEDGE REPRESENTATION & REASONING - Lecture 1

25
Disadvantages of Logic for KR


Solutions:








restricting expressivity
• SAT
augmenting declarative statements with procedural information
• logic programming

new more powerful inference techniques
• constraint solving
heuristics
• incomplete reasoning mechanisms (local search)

OWLEDGE REPRESENTATION & REASONING - Lecture 1

26
What is this course about ?
* Propositional Satisfiability (SAT)
Reasoning Techniques
Modeling Real Problems
* Actions, Situations, Events, Default Information
Stable Models and Answer Set Programs
* Constraint-based KR
The CSP formalism
Reasoning Algorithms
Applications
* Temporal Knowledge & Reasoning
Qualitative and Quantitative

OWLEDGE REPRESENTATION & REASONING - Lecture 1

27
Course Flow
Artificial Intelligence
Knowledge Representation

Applications
Scheduling
• Planning
• Configuration
• Resource Allocation
• Machine Vision
• Databases
•

- SAT and ASP
- Constraint-based knowledge representation
- Temporal Knowledge

OWLEDGE REPRESENTATION & REASONING - Lecture 1

28
Propositional Satisfiability (SAT)


Propositional Logic in Conjunctive Normal Form (CNF)
• Checking the satisfiability (and finding a model) of PL sentences in
CNF is called SAT

Representation

Literals, Clauses



Reasoning

Propagation (UP, BinRes, etc.)
Complete Search (DPLL)
Local Search (GSAT, WalkSat)



Applications



planning verification circuit design
model checking cryptography
games and puzzles

OWLEDGE REPRESENTATION & REASONING - Lecture 1

29
Actions, Situations, and Events



Situation Calculus
Describing Actions in Situation Calculus


The Frame Problem



Time and Event Calculus



Reasoning with Default Information




Open and Closed Worlds

Negation as Failure and Stable Models


Answer Set Programming (ASP)

OWLEDGE REPRESENTATION & REASONING - Lecture 1

30
Knowledge Representation with Constraints


Constraint Satisfaction Problems (CSPs)






Representation

Reasoning

Applications

Variables, Values, Constraints, Models
Global Constraints, Uncertainty
Constraint Propagation (AC, PC, etc.)
Complete Search (BT, FC, CBJ, MAC)
Local Search (Min_Confs, Breakout)
scheduling design and cofiguration
bin packing and partitioning frequency assignment
combinatorial mathematics games and puzzles
bioinformatics planning vehicle routing

OWLEDGE REPRESENTATION & REASONING - Lecture 1

31
Temporal KR&R


Representation & Reasoning with Temporal Information
quantitative (Allen’s algebra, etc.)

qualitative (STP,TCSP, etc.)
p

B-Α=3

oi

overlaps

si

starts

d

D

meets

s

C

mi

o

Β

precedes

m

Α

pi

di

during

f

fi

finishes

C-B>2

OWLEDGE REPRESENTATION & REASONING - Lecture 1

eq

equals

32
Logic-based Reasoners


Knowledge Representation
Languages based on Logic





Propositional logic
First order logic
Answer set programming
Prolog

OWLEDGE REPRESENTATION & REASONING - Lecture 1

SAT solvers
Theorem Provers
ASP solvers
SICStus Prolog
ECLiPSe Prolog at ECRC
ECLiPSe Prolog at IC-PARC
CIAO Prolog
XSB Prolog
Yap Prolog
CHIP
33
Constraint-based Reasoners


Imperative, Functional, Concurrent Languages and
ILOG Solver
Systems




Choko
ECLiPSe

C/C++

Java Constraint Library (JCL)
GECODE
AbsCon

Java



functional languages



concurrent languages

Claire
Michel Lemaitre's Lisp library
Screamer (Lisp)
FaCiLE

Mozart / Oz
AKL

OWLEDGE REPRESENTATION & REASONING - Lecture 1

34

Contenu connexe

Tendances

Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Yasir Khan
 
Agents in Artificial intelligence
Agents in Artificial intelligence Agents in Artificial intelligence
Agents in Artificial intelligence Lalit Birla
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AIMegha Sharma
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsNuruzzaman Milon
 
Production System in AI
Production System in AIProduction System in AI
Production System in AIBharat Bhushan
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Garry D. Lasaga
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production systemHema Kashyap
 
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdfUNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdfJenishaR1
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
Knowledge representation and Predicate logic
Knowledge representation and Predicate logicKnowledge representation and Predicate logic
Knowledge representation and Predicate logicAmey Kerkar
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and LiftingMegha Sharma
 

Tendances (20)

Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
AI: Planning and AI
AI: Planning and AIAI: Planning and AI
AI: Planning and AI
 
Agents in Artificial intelligence
Agents in Artificial intelligence Agents in Artificial intelligence
Agents in Artificial intelligence
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
 
Lecture 06 production system
Lecture 06 production systemLecture 06 production system
Lecture 06 production system
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdfUNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
Frames
FramesFrames
Frames
 
Knowledge representation and Predicate logic
Knowledge representation and Predicate logicKnowledge representation and Predicate logic
Knowledge representation and Predicate logic
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Classical Planning
Classical PlanningClassical Planning
Classical Planning
 
Uncertainty in AI
Uncertainty in AIUncertainty in AI
Uncertainty in AI
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
 

En vedette

Problems problem spaces and search
Problems problem spaces and searchProblems problem spaces and search
Problems problem spaces and searchAmey Kerkar
 
(Radhika) presentation on chapter 2 ai
(Radhika) presentation on chapter 2 ai(Radhika) presentation on chapter 2 ai
(Radhika) presentation on chapter 2 aiRadhika Srinivasan
 
State Space Search(2)
State Space Search(2)State Space Search(2)
State Space Search(2)luzenith_g
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logicgiki67
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representationSravanthi Emani
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 

En vedette (7)

State space search
State space search State space search
State space search
 
Problems problem spaces and search
Problems problem spaces and searchProblems problem spaces and search
Problems problem spaces and search
 
(Radhika) presentation on chapter 2 ai
(Radhika) presentation on chapter 2 ai(Radhika) presentation on chapter 2 ai
(Radhika) presentation on chapter 2 ai
 
State Space Search(2)
State Space Search(2)State Space Search(2)
State Space Search(2)
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 

Similaire à Knowledge Representation & Reasoning

CS Artificial Intelligence chapter 4.pptx
CS Artificial Intelligence chapter 4.pptxCS Artificial Intelligence chapter 4.pptx
CS Artificial Intelligence chapter 4.pptxethiouniverse
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationThenmozhiK5
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processingpunedevscom
 
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptxARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptxRuchitaMaaran
 
Edtc6341 kknisely chapter6summary
Edtc6341 kknisely chapter6summaryEdtc6341 kknisely chapter6summary
Edtc6341 kknisely chapter6summaryKari
 
Nlp presentation
Nlp presentationNlp presentation
Nlp presentationSurya Sg
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceyham manansala
 
Foundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxFoundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxkitsenthilkumarcse
 
Artificial intelligency full_ppt_persentation_way2project_in
Artificial intelligency full_ppt_persentation_way2project_inArtificial intelligency full_ppt_persentation_way2project_in
Artificial intelligency full_ppt_persentation_way2project_inSumit Sharma
 
NLP introduced and in 47 slides Lecture 1.ppt
NLP introduced and in 47 slides Lecture 1.pptNLP introduced and in 47 slides Lecture 1.ppt
NLP introduced and in 47 slides Lecture 1.pptOlusolaTop
 
Developing critical thinking with WebQuests
Developing critical thinking with WebQuestsDeveloping critical thinking with WebQuests
Developing critical thinking with WebQuestsPhilip Saxon
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdfkaxeca4096
 
Question Types in Natural Language Processing
Question Types in Natural Language ProcessingQuestion Types in Natural Language Processing
Question Types in Natural Language ProcessingCraig Trim
 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowValeria de Paiva
 
Knowledge Representation Reasoning and Acquisition.pdf
Knowledge Representation Reasoning and Acquisition.pdfKnowledge Representation Reasoning and Acquisition.pdf
Knowledge Representation Reasoning and Acquisition.pdfGan Keng Hoon
 
Unpacking Understanding by Design By Grant Wiggins, et al
Unpacking Understanding by Design By Grant Wiggins, et alUnpacking Understanding by Design By Grant Wiggins, et al
Unpacking Understanding by Design By Grant Wiggins, et alKaren Hartle
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?Anant Soft Computing
 

Similaire à Knowledge Representation & Reasoning (20)

CS Artificial Intelligence chapter 4.pptx
CS Artificial Intelligence chapter 4.pptxCS Artificial Intelligence chapter 4.pptx
CS Artificial Intelligence chapter 4.pptx
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge Representation
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptxARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
 
Edtc6341 kknisely chapter6summary
Edtc6341 kknisely chapter6summaryEdtc6341 kknisely chapter6summary
Edtc6341 kknisely chapter6summary
 
Nlp presentation
Nlp presentationNlp presentation
Nlp presentation
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Foundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxFoundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptx
 
Artificial intelligency full_ppt_persentation_way2project_in
Artificial intelligency full_ppt_persentation_way2project_inArtificial intelligency full_ppt_persentation_way2project_in
Artificial intelligency full_ppt_persentation_way2project_in
 
NLP introduced and in 47 slides Lecture 1.ppt
NLP introduced and in 47 slides Lecture 1.pptNLP introduced and in 47 slides Lecture 1.ppt
NLP introduced and in 47 slides Lecture 1.ppt
 
The five canons of Rhetoric
The five canons of Rhetoric The five canons of Rhetoric
The five canons of Rhetoric
 
Oop concept
Oop conceptOop concept
Oop concept
 
Developing critical thinking with WebQuests
Developing critical thinking with WebQuestsDeveloping critical thinking with WebQuests
Developing critical thinking with WebQuests
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdf
 
Question Types in Natural Language Processing
Question Types in Natural Language ProcessingQuestion Types in Natural Language Processing
Question Types in Natural Language Processing
 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and How
 
Knowledge Representation Reasoning and Acquisition.pdf
Knowledge Representation Reasoning and Acquisition.pdfKnowledge Representation Reasoning and Acquisition.pdf
Knowledge Representation Reasoning and Acquisition.pdf
 
Unpacking Understanding by Design By Grant Wiggins, et al
Unpacking Understanding by Design By Grant Wiggins, et alUnpacking Understanding by Design By Grant Wiggins, et al
Unpacking Understanding by Design By Grant Wiggins, et al
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
 

Plus de Sajid Marwat

Trusted computing introduction and technical overview
Trusted computing introduction and technical overviewTrusted computing introduction and technical overview
Trusted computing introduction and technical overviewSajid Marwat
 
Digital Rights Management and Trusted Computing Base
Digital Rights Management and Trusted Computing BaseDigital Rights Management and Trusted Computing Base
Digital Rights Management and Trusted Computing BaseSajid Marwat
 
Automata definitions
Automata definitionsAutomata definitions
Automata definitionsSajid Marwat
 
Thr cellular concept
Thr cellular conceptThr cellular concept
Thr cellular conceptSajid Marwat
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview, Sajid Marwat
 
Lec 17 heap data structure
Lec 17 heap data structureLec 17 heap data structure
Lec 17 heap data structureSajid Marwat
 
4 g LTE, LTE Advance
4 g LTE, LTE Advance 4 g LTE, LTE Advance
4 g LTE, LTE Advance Sajid Marwat
 
Advance algorithm hashing lec II
Advance algorithm hashing lec IIAdvance algorithm hashing lec II
Advance algorithm hashing lec IISajid Marwat
 
Advance algorithm hashing lec I
Advance algorithm hashing lec IAdvance algorithm hashing lec I
Advance algorithm hashing lec ISajid Marwat
 
how to calclute time complexity of algortihm
how to calclute time complexity of algortihmhow to calclute time complexity of algortihm
how to calclute time complexity of algortihmSajid Marwat
 
GSM Network 3G Technologies
GSM Network 3G TechnologiesGSM Network 3G Technologies
GSM Network 3G TechnologiesSajid Marwat
 
WiMAX (IEEE 802.16)
WiMAX (IEEE 802.16)WiMAX (IEEE 802.16)
WiMAX (IEEE 802.16)Sajid Marwat
 
Radio over Fiber Technology for WiMAX Systems
 Radio over Fiber Technology for WiMAX Systems Radio over Fiber Technology for WiMAX Systems
Radio over Fiber Technology for WiMAX Systems Sajid Marwat
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnectionSajid Marwat
 

Plus de Sajid Marwat (15)

Trusted computing introduction and technical overview
Trusted computing introduction and technical overviewTrusted computing introduction and technical overview
Trusted computing introduction and technical overview
 
Digital Rights Management and Trusted Computing Base
Digital Rights Management and Trusted Computing BaseDigital Rights Management and Trusted Computing Base
Digital Rights Management and Trusted Computing Base
 
Manet
ManetManet
Manet
 
Automata definitions
Automata definitionsAutomata definitions
Automata definitions
 
Thr cellular concept
Thr cellular conceptThr cellular concept
Thr cellular concept
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview,
 
Lec 17 heap data structure
Lec 17 heap data structureLec 17 heap data structure
Lec 17 heap data structure
 
4 g LTE, LTE Advance
4 g LTE, LTE Advance 4 g LTE, LTE Advance
4 g LTE, LTE Advance
 
Advance algorithm hashing lec II
Advance algorithm hashing lec IIAdvance algorithm hashing lec II
Advance algorithm hashing lec II
 
Advance algorithm hashing lec I
Advance algorithm hashing lec IAdvance algorithm hashing lec I
Advance algorithm hashing lec I
 
how to calclute time complexity of algortihm
how to calclute time complexity of algortihmhow to calclute time complexity of algortihm
how to calclute time complexity of algortihm
 
GSM Network 3G Technologies
GSM Network 3G TechnologiesGSM Network 3G Technologies
GSM Network 3G Technologies
 
WiMAX (IEEE 802.16)
WiMAX (IEEE 802.16)WiMAX (IEEE 802.16)
WiMAX (IEEE 802.16)
 
Radio over Fiber Technology for WiMAX Systems
 Radio over Fiber Technology for WiMAX Systems Radio over Fiber Technology for WiMAX Systems
Radio over Fiber Technology for WiMAX Systems
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
 

Dernier

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Dernier (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Knowledge Representation & Reasoning

  • 1. Knowledge Representation & Reasoning By Ms Jawairya Bukhari OWLEDGE REPRESENTATION & REASONING - Lecture 1 1
  • 2. Overview  Aims  Development of skills in Knowledge Representation & Reasoning  Understanding of various different ways to represent and reason with knowledge  Practical Applications of Knowledge Representation & Reasoning  Motives for Research OWLEDGE REPRESENTATION & REASONING - Lecture 1 2
  • 3. Overview  Prerequisites:  Artificial Intelligence • Search Algorithms  Logic • Propositional & First Order Logic  Algorithms & Data Structures • Algorithmic Complexity  Programming! • C ∨ C++ ∨ Java OWLEDGE REPRESENTATION & REASONING - Lecture 1 3
  • 4. Overview  Bibliography:  General stuff on AI • Artificial Intelligence: A Modern Approach, Russell & Norvig • http://www.cs.berkeley.edu/~russell/aima.html • http://aima.cs.berkeley.edu/ • Artificial Intelligence: A New Synthesis, Nilsson • Essentials of Artificial Intelligence: Ginsberg  Knowledge Representation • Knowledge Representation and Reasoning, Ronald J. Brachman, Hector J. Levesque  Constraint Programming • Constraint Processing, Rina Dechter  LOTS OF PAPERS… • More after specific lectures OWLEDGE REPRESENTATION & REASONING - Lecture 1 4
  • 5. ΑΙ and KR  A description of Artificial Intelligence is:   The study and development of systems that demonstrate intelligent behavior Based on the above, a description of Knowledge Representation & Reasoning is:  The study of ways to represent and reason with information in order to achieve intelligent behavior OWLEDGE REPRESENTATION & REASONING - Lecture 1 KR&R is the part of AI that is concerned with thinking and how thinking contributes to intelligent behavior 5
  • 6. What is KR&R?  There are many ways to approach the topic of intelligence and intelligent behavior   KR suggests an approach to understanding intelligent behavior that is radically different    neuroscience, psychology, evolution, philosophy Instead of studying humans very carefully (biology, nervous systems, psychology, sociology, etc.), it argues that what we need to study is what humans know. It is taken as a given that what allows humans to behave intelligently is that they know a lot of things about a lot of things and are able to apply this knowledge as appropriate to adapt to their environment and achieve their goals. KR&R focuses on the knowledge, not on the knower. We ask what any agent—human, animal, electronic, mechanical—would need to know to behave intelligently, and what sorts of computational mechanisms might allow its knowledge to be manipulated. OWLEDGE REPRESENTATION & REASONING - Lecture 1 6
  • 7. Knowledge  What is knowledge? This is a question that has been discussed by philosophers since the ancient times, and it is still not totally clarified.   Observe that when we say something like “John knows that …,” we fill in the blank with a simple    “John knows that Mary will come to the party,” “John knows that Spain won the Euro” Among other things, knowledge is a relation between a knower and a proposition    Will not attempt to define it formally… knower : John proposition: the idea expressed by a simple declarative sentence, like “Mary will come to the party.” What can we say about propositions? For KR&R, what matters about propositions is that they are abstract entities that can be true or false, right or wrong.  When we say, “John knows that p,” we can just as well say, “John knows that it is true that p.” OWLEDGE REPRESENTATION & REASONING - Lecture 1 7
  • 8. Representation  Roughly, representation is a relationship between two domains, where the first is meant to “stand for” or take the place of the second.  Usually, the first domain, the representor, is more concrete, immediate, or accessible in some way than the second. • For example, a drawing of a hamburger on a sign might stand for a less immediately visible fast food restaurant; • an elected member of parliament might stand for his or her constituency.  The type of representor that we will be most concerned with here is the formal symbol, that is, a character or group of characters taken from some predetermined alphabet. • The digit “7,” for example, stands for the number 7, as does the group of letters “VII”  Knowledge representation, then, is the field of study concerned with using formal symbols to represent a collection of propositions believed by some agent. OWLEDGE REPRESENTATION & REASONING - Lecture 1 8
  • 9. & Reasoning  What is reasoning? In general, it is the formal manipulation of the symbols representing a collection of believed propositions to produce representations of new ones.  Here that we use the fact that symbols are more accessible than the propositions they represent: They must be concrete enough that we can manipulate them (move them around, take them apart, copy them, string them together) in such a way as to construct representations of new propositions. • We might start with the sentences “John loves Mary” and “Mary is coming to the party” and after a certain amount of manipulation produce the sentence, “Someone John loves is coming to the party” • We would call this form of reasoning logical inference because the final sentence represents a logical conclusion of the propositions represented by the initial ones  Reasoning is a form of calculation, not unlike arithmetic, but over symbols standing for propositions rather than numbers OWLEDGE REPRESENTATION & REASONING - Lecture 1 9
  • 10. How can knowledge be represented ?  Symbolic methods         Declarative Languages (Logic) Imperative Languages (C, C++, Java, etc.) Hybrid Languages (Prolog) Rules Frames Semantic Networks … Non – symbolic methods   Neural Networks Genetic Algorithms OWLEDGE REPRESENTATION & REASONING - Lecture 1 10
  • 11. Symbolic Methods of Knowledge Representation Natural Language Frames First Order Logic Semantic Networks Rules Hybrid systems XML/RDF C/C++/Java Non-monotonic Logic Constraints Prolog Ontologies Scripts OWLEDGE REPRESENTATION & REASONING - Lecture 1 Fuzzy logic Bayes Networks Description Logics Propositional Logic 11
  • 12. What does Knowledge Representation include ?          Exception Tolerant and Inconsistency-Tolerant Reasoning, Default Logics, Conditional Logics, Paraconsistent Logics, Argumentation Temporal Reasoning, Spatial reasoning, Causal Reasoning, Abduction, Explanations, Extrapolation, Model-based diagnosis Reasoning about Actions, Situation Calculus, Action Languages, Dynamic Logic Reasoning, Planning, and Decision Making under Uncertainty, Probabilistic and Possibilistic approaches, Belief Functions and Imprecise Probabilities Representations of Vagueness, Many-valued and Fuzzy Logics, Concept Formation, Similarity-based reasoning Information Change, Belief Revision, Update Information Fusion, Ontologies, Ontology Methodology, and Ontologies themselves Qualitative reasoning and decision theory, Preference modelling, Reasoning about preference, reasoning about physical systems OWLEDGE REPRESENTATION & REASONING - Lecture 1 12
  • 13. What does Knowledge Representation include ?        Intelligent agents, negotiation, group decision making, cooperation, interaction, game theory, common knowledge, cognitive robotics Algebraic foundations of knowledge representations, graphical representations Modal logics and reasoning, belief, preference networks, constraints Knowledge representation languages, Description logics, Logic programming, SAT, constraint programming, inductive logic programming, complexity analysis Natural language processing, learning, discovering and acquiring knowledge, belief networks, summarization, categorization Applications of KR&R, Knowledge-based Scheduling, WWW querying languages, Information retrieval and web mining, Website selection and configuration, Electronic commerce and auctions Philosophical foundations and psychological evidence OWLEDGE REPRESENTATION & REASONING - Lecture 1 13
  • 14. Types of Knowledge  Declarative Knowledge   E.g.    Description of notions, facts, and rules of the world For each lecture there is a specific time and place Only one lecture can take place at each time and place Descriptional knowledge, non procedural, independent of targets and problem solving OWLEDGE REPRESENTATION & REASONING - Lecture 1 14
  • 15. Types of Knowledge  Procedural Knowledge     E.g.    Description of procedures required to achieve targets Knowledge of the order in which actions must be performed Heuristic knowledge To construct the exams timetable, assign first the classes of the first year To reach Athens faster, take the airplane It depends on the targets and problems OWLEDGE REPRESENTATION & REASONING - Lecture 1 15
  • 16. Types of Knowledge  Basic Difference  declarative knowledge is right or wrong • Lectures are on Wednesdays  procedural knowledge can be executed • the procedure of constructing the exams timetable  Which of the two interests us ?  Both of course OWLEDGE REPRESENTATION & REASONING - Lecture 1 Knowledge Representation & Reasoning 16
  • 17. The Language of Propositional Logic  Before any system aspiring to intelligence can even begin to reason, learn, plan, or explain its behavior, it must be able to formulate the ideas involved.   So we need to start with a language, in terms of which knowledge can be formulated. We will examine in detail one specific language that can be used for this purpose: the language of propositional logic   You will not be able to learn something about the world around you, for example, if it is beyond you to even express what that thing is. Propositional logic is not the only choice, of course, but is a simple and convenient one to begin with. What does it mean to “have” a language? Once we have a set of words or a set of symbols of some sort, what more is needed? As far as we are concerned, there are two main things:  A KR language is defined by its syntax and its semantics OWLEDGE REPRESENTATION & REASONING - Lecture 1 17
  • 18. Syntax of a KR language  We need to specify which groups of symbols, arranged in what way, are to be considered properly formed.   In English, for example, the string of words “the cat my mother loves” is a well-formed phrase, but “the my loves mother cat” is not. The syntax consists of a set of symbols used by the language and a set of rules according to which the symbols can be combined to form proper sentences OWLEDGE REPRESENTATION & REASONING - Lecture 1 18
  • 19. Semantics of a KR language  We need to specify what the well-formed expressions are supposed to mean.  Some well-formed expressions like “the recently divorced decimal holiday” might not mean anything. We need to be clear about what idea about the world is being expressed.  The semantics determine a mapping between symbols, combinations of symbols, propositions of the language and concepts of the world to which they refer  A proposition in a KR language does not mean anything on its own  The semantics (i.e. the meaning) of the proposition must be defined by the language author through an interpretation OWLEDGE REPRESENTATION & REASONING - Lecture 1 19
  • 20. Knowledge Representation Languages   An expression is true under a certain interpretation if the facts of the real world that it represents are valid We say that a proposition α is entailed by a set of propositions s when whenever the set of propositions s is true then α is true  entailment is usually notated by s |= α proposition representation entails proposition semantics semantics fact fact Real world OWLEDGE REPRESENTATION & REASONING - Lecture 1 entails 20
  • 21. Desired Features of KR languages  Epistemological Level    Logical Level     Clarity Expressiveness CONFLICT ! Elegant syntax & semantics Decidability / Tractability Sound and complete inference mechanism Implementation Level   Space & Time efficiency Extensibility OWLEDGE REPRESENTATION & REASONING - Lecture 1 21
  • 22. Expressiveness vs. Tractability  Assume you are requested to describe a painting. You can use either of the following languages 1. 2.  Your descriptions are: 1. 2.   The Greek language. I.e. all syntactically and semantically correct statements in Greek The tiny subset of the Greek language that only includes words “ωραίος”, “άσχημος” “Ο πίνακας αυτός είναι διανθισμένος με εξαίσιες πινελιές χρωμάτων που τονίζουν την ομορφιά του τοπίου που απεικονίζει ο καλλιτέχνης. Από την άλλη εύκολα εντοπίζει κανείς και συγκεκριμένες ατέλειες που κυρίως αφορούν την προοπτική....” “ωραίος” Which description is more accurate/expressive? Which description allows you to answer the query “είναι ο πίνακας ωραίος?” faster? OWLEDGE REPRESENTATION & REASONING - Lecture 1 22
  • 23. Logic for KR  Historically logic is the first KR language   1959-1965: First Order Logic is the KR language for AI 1965: Resolution (Robinson) means real hope for universally applicable proof method • computational & representational problems  1970s: Rivals emerge (semantic networks, rules, frames) • unclear semantics & inference  1975: Logic Programming (Kowalski) • decrease expressivity to increase efficiency • declarative & procedural knowledge in one language  1980…: Non-monotonic reasoning (McCarthy,Reiter) • common sense knowledge OWLEDGE REPRESENTATION & REASONING - Lecture 1 23
  • 24. Advantages of Logic for KR  Like all declarative languages:       compact task-independent modular representation resusable, flexible, maintainable Logic has formal well defined semantics Logic is expressive     incomplete knowledge temporal logics second order logic … OWLEDGE REPRESENTATION & REASONING - Lecture 1 24
  • 25. Disadvantages of Logic for KR  Inefficiency !!!  implementation level  Difficulty in describing procedural knowledge  Expressivity vs. Tractability   the more expressive the less tractable “Problem solving based on expressive logics is impossible” In the worst case !  Why ? • expressiveness broader problems => harder problems OWLEDGE REPRESENTATION & REASONING - Lecture 1 25
  • 26. Disadvantages of Logic for KR  Solutions:     restricting expressivity • SAT augmenting declarative statements with procedural information • logic programming new more powerful inference techniques • constraint solving heuristics • incomplete reasoning mechanisms (local search) OWLEDGE REPRESENTATION & REASONING - Lecture 1 26
  • 27. What is this course about ? * Propositional Satisfiability (SAT) Reasoning Techniques Modeling Real Problems * Actions, Situations, Events, Default Information Stable Models and Answer Set Programs * Constraint-based KR The CSP formalism Reasoning Algorithms Applications * Temporal Knowledge & Reasoning Qualitative and Quantitative OWLEDGE REPRESENTATION & REASONING - Lecture 1 27
  • 28. Course Flow Artificial Intelligence Knowledge Representation Applications Scheduling • Planning • Configuration • Resource Allocation • Machine Vision • Databases • - SAT and ASP - Constraint-based knowledge representation - Temporal Knowledge OWLEDGE REPRESENTATION & REASONING - Lecture 1 28
  • 29. Propositional Satisfiability (SAT)  Propositional Logic in Conjunctive Normal Form (CNF) • Checking the satisfiability (and finding a model) of PL sentences in CNF is called SAT Representation Literals, Clauses  Reasoning Propagation (UP, BinRes, etc.) Complete Search (DPLL) Local Search (GSAT, WalkSat)  Applications  planning verification circuit design model checking cryptography games and puzzles OWLEDGE REPRESENTATION & REASONING - Lecture 1 29
  • 30. Actions, Situations, and Events   Situation Calculus Describing Actions in Situation Calculus  The Frame Problem  Time and Event Calculus  Reasoning with Default Information   Open and Closed Worlds Negation as Failure and Stable Models  Answer Set Programming (ASP) OWLEDGE REPRESENTATION & REASONING - Lecture 1 30
  • 31. Knowledge Representation with Constraints  Constraint Satisfaction Problems (CSPs)    Representation Reasoning Applications Variables, Values, Constraints, Models Global Constraints, Uncertainty Constraint Propagation (AC, PC, etc.) Complete Search (BT, FC, CBJ, MAC) Local Search (Min_Confs, Breakout) scheduling design and cofiguration bin packing and partitioning frequency assignment combinatorial mathematics games and puzzles bioinformatics planning vehicle routing OWLEDGE REPRESENTATION & REASONING - Lecture 1 31
  • 32. Temporal KR&R  Representation & Reasoning with Temporal Information quantitative (Allen’s algebra, etc.) qualitative (STP,TCSP, etc.) p B-Α=3 oi overlaps si starts d D meets s C mi o Β precedes m Α pi di during f fi finishes C-B>2 OWLEDGE REPRESENTATION & REASONING - Lecture 1 eq equals 32
  • 33. Logic-based Reasoners  Knowledge Representation Languages based on Logic     Propositional logic First order logic Answer set programming Prolog OWLEDGE REPRESENTATION & REASONING - Lecture 1 SAT solvers Theorem Provers ASP solvers SICStus Prolog ECLiPSe Prolog at ECRC ECLiPSe Prolog at IC-PARC CIAO Prolog XSB Prolog Yap Prolog CHIP 33
  • 34. Constraint-based Reasoners  Imperative, Functional, Concurrent Languages and ILOG Solver Systems   Choko ECLiPSe C/C++ Java Constraint Library (JCL) GECODE AbsCon Java  functional languages  concurrent languages Claire Michel Lemaitre's Lisp library Screamer (Lisp) FaCiLE Mozart / Oz AKL OWLEDGE REPRESENTATION & REASONING - Lecture 1 34