SlideShare a Scribd company logo
1 of 20
ARTIFICAL INTELLIGENCE
(R18 III(II Sem))
Department of computer science and
engineering (AI/ML)
Session 24
by
Asst.Prof.M.Gokilavani
VITS
4/25/2023 Dpaertment of CSE ( AL & ML) 1
TEXTBOOK:
• Artificial Intelligence A modern Approach, Third
Edition, Stuart Russell and Peter Norvig, Pearson
Education.
REFERENCES:
• Artificial Intelligence, 3rd Edn, E. Rich and K.Knight
(TMH).
• Artificial Intelligence, 3rd Edn, Patrick Henny
Winston, Pearson Education.
• Artificial Intelligence, Shivani Goel, Pearson
Education.
• Artificial Intelligence and Expert Systems- Patterson,
Pearson Education.
4/25/2023 Dpaertment of CSE ( AL & ML) 2
Topics covered in session 24
4/25/2023 Dpaertment of CSE ( AL & ML) 3
Logic and Knowledge Representation
First-Order Logic: Representation, Syntax and
Semantics of First-Order Logic, Using First-Order Logic,
Knowledge Engineering in First-Order Logic.
Inference in First-Order Logic: Propositional vs. First-
Order Inference, Unification and Lifting, Forward
Chaining, Backward Chaining, Resolution.
Knowledge Representation: Ontological Engineering,
Categories and Objects, Events. Mental Events and
Mental Objects, Reasoning Systems for Categories,
Reasoning with Default Information.
Knowledge Representation
• Ontological Engineering
• Categories and Objects
• Events
• Mental Events and Mental Objects
• Reasoning Systems for Categories
• Reasoning with Default Information
4/25/2023 4
Dpaertment of CSE ( AL & ML)
What is Ontology?
• Ontology can be defined as “the science or
study of being” and it deals with the nature of
reality.
• It is a system of belief that reflects an
interpretation of an individual about what
constitutes a fact.
4/25/2023 5
Dpaertment of CSE ( AL & ML)
Ontological Engineering
• Ontologies are constructed using knowledge representation
languages and logics. An ontology consists of a set of
concepts, axioms, and relationships that describe a domain of
interest .
– Create more general and flexible representations.
– Concepts like actions, time, physical object and beliefs
– Define general framework of concepts
– Upper ontology
– Limitations of logic representation
• Red, green and yellow tomatoes: exceptions and
uncertainty
4/25/2023 6
Dpaertment of CSE ( AL & ML)
Ontological Engineering
• Representing a general-purpose ontology is a
difficult task called ontology engineering
• Existing GP Ontologies have been created in
different ways:
• By team of trained oncologists
• By importing concepts from database(s)
• By extracting information from text documents
• By inviting anybody to enter commonsense knowledge
• Ontological engineering has only been partially
successful, and few large AI systems are based on
GP ontologies (use special purpose ontologies).
4/25/2023 7
Dpaertment of CSE ( AL & ML)
• Each link indicates that the lower concept is a
specialization of the upper one. Specializations are not
necessarily disjoint; a human is both an animal and an
agent, for example.
4/25/2023 8
Dpaertment of CSE ( AL & ML)
Categories and objects
Two choices for representation:
• Predicate
– Basketball(b)
• Object
– Basketballs
– Member(b, Basketballs)
– Subset(Basketballs, Balls)
• Categories - Organizing
Inheritance:
– All instances of the category Food are edible
• Fruit is a subclass of Food
• Apples is a subclass of Fruit
– Therefore, Apples are edible
• The Class/Subclass relationships among Food, Fruit and Apples is a
taxonomy.
4/25/2023 9
Dpaertment of CSE ( AL & ML)
Categories- partitioning
• Disjoint: The categories have no members in common
– Disjoint(s)⇔(∀ c1,c2 c1 ∈ s ∧ c2 ∈ s ∧ c1 ≠ c2 ⇒ Intersection(c1,c2)
={})
– Example: Disjoint({animals, vegetables})
• Exhaustive Decomposition: Every member of the category is
included in at least one of the subcategories
– E.D.(s,c) ⇔ (∀ i i ∈ c ⇒ ∃ c2 c2 ∈ s ∧ i ∈ c2)
– Example: Exhaustive Decomposition( {Americans, Canadian,
Mexicans}, North Americans).
• Partition: Disjoint exhaustive decomposition
– Partition(s,c) ⇔ Disjoint(s) ∧ E.D.(s,c)
– Example: Partition({Males, Females},Persons).
– Is ({Americans, Canadian, Mexicans},North Americans) a partition?
– No! There might be dual citizenships.
• Categories can be defined by providing necessary and sufficient
conditions for membership
– ∀ x Bachelor(x) ⇔ Male(x) ∧ Adult(x) ∧ Unmarried(x)
4/25/2023 10
Dpaertment of CSE ( AL & ML)
Categories and Objects Natural Kinds
• Many categories have no clear-cut definitions (chair, bush,
book).
• Tomatoes: sometimes green, red, yellow, black, mostly round.
• One solution: category Typical(Tomatoes)
– ∀x x ∈ Typical(Tomatoes) ⇒ Red(x) ∧ Spherical(x)
• We can write down useful facts about categories without
providing exact definitions
4/25/2023 11
Dpaertment of CSE ( AL & ML)
Physical composition
• Physical composition
– One object may be part of another:
• PartOf(Seoul, South koarea)
• PartOf(South korea, East Asia)
• PartOf(East Asia, Asia)
• The PartOf predicate is transitive (and reflexive)
• so we can infer that PartOf(Seoul, Asia)
• More generally:
– ∀ x PartOf(x,x)
– ∀ x,y,z PartOf(x,y) ∧ PartOf(y,z) ⇒ PartOf(x,z)
• Often characterized by structural relations among parts.
• E.g. Biped(a) ⇒
4/25/2023 12
Dpaertment of CSE ( AL & ML)
Categories and Objects Measurements
• Objects have height, mass, cost, ....
• Values that we assign to these are measures
• Combine Unit functions with a number:
– Length(L1) = Inches(1.5) = Centimeters(3.81).
• Conversion between units:
– ∀ i Centimeters(2.54 x i)=Inches(i).
• Some measures have no scale:
• Beauty, Difficulty, etc. •
– Most important aspect of measures: they are orderable.
– Don't care about the actual numbers.
– (An apple can have deliciousness .9 or .1.)
• Measures can be used to describe objects as follows:
– Diameter(Basketball 12) = Inches(9.5) .
– ListPrice (Basketball 12) = $(19) .
– d ∈ Days ⇒ Duration(d) = Hours(24) .
4/25/2023 13
Dpaertment of CSE ( AL & ML)
Events
• Facts are treated as true independent of time
• Events: need to describe what is true, when something is happening
• For instance: Flying event
• E ∈ Flying's
• Flyer(E, Shankar)
• Origin(E, SanFrancisco)
• Destination(E, Baltimore)
• We will consider two kinds of time intervals: moments and extended
intervals. The distinction is that only moments have zero duration:
• Partition({Moments, Extended Intervals}, Intervals)
• i ∈ Moments ⇔ Duration(i) = Seconds(0) .
• The function Duration gives the difference between the end time and the
start time.
• Interval(i) ⇒ Duration(i) = (Time(End(i)) Time(Begin(i))) .
• Time(Begin(AD1900)) = Seconds(0) .
• Time(Begin(AD2001)) = Seconds(3187324800) .
• Time(End(AD2001)) = Seconds(3218860800) .
• Duration(AD2001) = Seconds(31536000) .
4/25/2023 14
Dpaertment of CSE ( AL & ML)
Events
• Two intervals Meet if the end time of the first equals the star
time of the second. The complete set of interval relations
logically below:
• Meet(i, j) ⇔ End(i) = Begin(j)
• Before(i, j) ⇔ End(i) < Begin(j)
• After(j, i) ⇔ Before(i, j)
• During(i, j) ⇔ Begin(j) < Begin(i) < End(i) < End(j)
• Overlap(i, j) ⇔ Begin(i) < Begin(j) < End(i) < End(j)
• Begins(i, j) ⇔ Begin(i) = Begin(j)
• Finishes(i, j) ⇔ End(i) = End(j)
• Equals(i, j) ⇔ Begin(i) = Begin(j) ∧ End(i) = End(j)
4/25/2023 15
Dpaertment of CSE ( AL & ML)
• Graphically Predicates on time intervals.
4/25/2023 16
Dpaertment of CSE ( AL & ML)
• Physical objects can be viewed as generalized events, in the
sense that a physical object is a chunk of space–time.
• George Washington was president throughout 1790
• T (Equals (President(USA), George Washington), AD1790)
Events A schematic view of the object President(USA) for the
first 15 years of its existence.
4/25/2023 17
Dpaertment of CSE ( AL & ML)
Mental events and objects
• So far, KB agents can have beliefs and deduce new beliefs
• What about knowledge about beliefs? What about knowledge about
the inference process?
– Requires a model of the mental objects in someone’s head and
the processes that manipulate these objects.
• Relationships between agents and mental objects: believes, knows,
wants,
– Believes(Lois, Flies(Superman)) with Flies(Superman) being a
function . . . a candidate for a mental object (reification).
– Agent can now reason about the beliefs of agents.
• Modal logic solves some tricky issues with the interplay of
quantifiers and knowledge.
– particular someone who Bond knows is a spy ∃ x Kbond Spy(x)
– Bond just knows that there is at least one spy
– Kbond ∃ x Spy(x)
4/25/2023 Dpaertment of CSE ( AL & ML) 18
Reasoning system for categories
• Semantic Networks
• Logic vs. semantic networks
• Many variations
– All represent individual objects, categories of
objects and relationships among objects.
– persons have two legs—that is
– ∀ x x ∈ Persons ⇒ Legs(x, 2)
• Allows for inheritance reasoning
– Female persons inherit all properties from person.
– OO programming.
• Inference of inverse links
– Sister Of vs. Has Sister
4/25/2023 Dpaertment of CSE ( AL & ML) 19
Topics to be covered in next session 25
• Planning
Thank you!!!
4/25/2023 Dpaertment of CSE ( AL & ML) 20

More Related Content

Similar to AI_session 24 knowledge representation.pptx

Invited Talk: Early Detection of Research Topics
Invited Talk: Early Detection of Research Topics Invited Talk: Early Detection of Research Topics
Invited Talk: Early Detection of Research Topics Angelo Salatino
 
Stuart russell and peter norvig artificial intelligence - a modern approach...
Stuart russell and peter norvig   artificial intelligence - a modern approach...Stuart russell and peter norvig   artificial intelligence - a modern approach...
Stuart russell and peter norvig artificial intelligence - a modern approach...Lê Anh Đạt
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptxSwatiHans10
 
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...Keith.May
 
Predicate calculus
Predicate calculusPredicate calculus
Predicate calculusRajendran
 
Teaching & Learning with Technology TLT 2016
Teaching & Learning with Technology TLT 2016Teaching & Learning with Technology TLT 2016
Teaching & Learning with Technology TLT 2016Roy Clariana
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceUmesh Meher
 
Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Toby Burrows
 
Introducing Teachers to the Next Generation Science Stand
Introducing Teachers to the Next Generation Science StandIntroducing Teachers to the Next Generation Science Stand
Introducing Teachers to the Next Generation Science StandSERC at Carleton College
 
Argument Structure And State Composition
Argument Structure And State CompositionArgument Structure And State Composition
Argument Structure And State CompositionAmy Cernava
 
What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)srazniewski
 
AI3391 Artificial Intelligence Session 25 Horn clause.pptx
AI3391 Artificial Intelligence Session 25 Horn clause.pptxAI3391 Artificial Intelligence Session 25 Horn clause.pptx
AI3391 Artificial Intelligence Session 25 Horn clause.pptxAsst.prof M.Gokilavani
 
Information theoritic analysis of entity dynamics on the linked open data cloud
Information theoritic analysis of entity dynamics on the linked open data cloudInformation theoritic analysis of entity dynamics on the linked open data cloud
Information theoritic analysis of entity dynamics on the linked open data cloudMOVING Project
 
Knowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxKnowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxkitsenthilkumarcse
 

Similar to AI_session 24 knowledge representation.pptx (20)

Invited Talk: Early Detection of Research Topics
Invited Talk: Early Detection of Research Topics Invited Talk: Early Detection of Research Topics
Invited Talk: Early Detection of Research Topics
 
Stuart russell and peter norvig artificial intelligence - a modern approach...
Stuart russell and peter norvig   artificial intelligence - a modern approach...Stuart russell and peter norvig   artificial intelligence - a modern approach...
Stuart russell and peter norvig artificial intelligence - a modern approach...
 
Data, Infrastructures and Geographical Imaginations
Data, Infrastructures and Geographical ImaginationsData, Infrastructures and Geographical Imaginations
Data, Infrastructures and Geographical Imaginations
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
AI_Session 20 Horn clause.pptx
AI_Session 20 Horn clause.pptxAI_Session 20 Horn clause.pptx
AI_Session 20 Horn clause.pptx
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptx
 
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...
An Open and Shut Case? Shared Standards for Stratigraphic Data and Heritage L...
 
Predicate calculus
Predicate calculusPredicate calculus
Predicate calculus
 
Intoduction of Artificial Intelligence
Intoduction of Artificial IntelligenceIntoduction of Artificial Intelligence
Intoduction of Artificial Intelligence
 
Teaching & Learning with Technology TLT 2016
Teaching & Learning with Technology TLT 2016Teaching & Learning with Technology TLT 2016
Teaching & Learning with Technology TLT 2016
 
artficial intelligence
artficial intelligenceartficial intelligence
artficial intelligence
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...Ontologies and the humanities: some issues affecting the design of digital in...
Ontologies and the humanities: some issues affecting the design of digital in...
 
Introducing Teachers to the Next Generation Science Stand
Introducing Teachers to the Next Generation Science StandIntroducing Teachers to the Next Generation Science Stand
Introducing Teachers to the Next Generation Science Stand
 
Argument Structure And State Composition
Argument Structure And State CompositionArgument Structure And State Composition
Argument Structure And State Composition
 
What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)What knowledge bases know (and what they don't)
What knowledge bases know (and what they don't)
 
AI3391 Artificial Intelligence Session 25 Horn clause.pptx
AI3391 Artificial Intelligence Session 25 Horn clause.pptxAI3391 Artificial Intelligence Session 25 Horn clause.pptx
AI3391 Artificial Intelligence Session 25 Horn clause.pptx
 
Information theoritic analysis of entity dynamics on the linked open data cloud
Information theoritic analysis of entity dynamics on the linked open data cloudInformation theoritic analysis of entity dynamics on the linked open data cloud
Information theoritic analysis of entity dynamics on the linked open data cloud
 
Knowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptxKnowledge representation events in Artificial Intelligence.pptx
Knowledge representation events in Artificial Intelligence.pptx
 
AI_Session 25 classical planning.pptx
AI_Session 25 classical planning.pptxAI_Session 25 classical planning.pptx
AI_Session 25 classical planning.pptx
 

More from Asst.prof M.Gokilavani

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
IT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfIT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfAsst.prof M.Gokilavani
 
IT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesIT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesAsst.prof M.Gokilavani
 
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfGE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfAsst.prof M.Gokilavani
 
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfGE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfAsst.prof M.Gokilavani
 
GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAsst.prof M.Gokilavani
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptx
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptxAI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptx
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptxAsst.prof M.Gokilavani
 

More from Asst.prof M.Gokilavani (20)

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
IT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfIT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdf
 
IT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesIT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notes
 
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfGE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
 
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfGE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
 
GE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdfGE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdf
 
GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdf
 
GE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _NotesGE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _Notes
 
GE3151_PSPP_UNIT_5_Notes
GE3151_PSPP_UNIT_5_NotesGE3151_PSPP_UNIT_5_Notes
GE3151_PSPP_UNIT_5_Notes
 
GE3151_PSPP_UNIT_4_Notes
GE3151_PSPP_UNIT_4_NotesGE3151_PSPP_UNIT_4_Notes
GE3151_PSPP_UNIT_4_Notes
 
GE3151_PSPP_UNIT_3_Notes
GE3151_PSPP_UNIT_3_NotesGE3151_PSPP_UNIT_3_Notes
GE3151_PSPP_UNIT_3_Notes
 
GE3151_PSPP_UNIT_2_Notes
GE3151_PSPP_UNIT_2_NotesGE3151_PSPP_UNIT_2_Notes
GE3151_PSPP_UNIT_2_Notes
 
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
 
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
 
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptx
 
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdfAI3391 Artificial Intelligence UNIT III Notes_merged.pdf
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
 
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptx
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptxAI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptx
AI3391 Artificial Intelligence Session 23 Backtracking CSP's.pptx
 

Recently uploaded

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Recently uploaded (20)

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

AI_session 24 knowledge representation.pptx

  • 1. ARTIFICAL INTELLIGENCE (R18 III(II Sem)) Department of computer science and engineering (AI/ML) Session 24 by Asst.Prof.M.Gokilavani VITS 4/25/2023 Dpaertment of CSE ( AL & ML) 1
  • 2. TEXTBOOK: • Artificial Intelligence A modern Approach, Third Edition, Stuart Russell and Peter Norvig, Pearson Education. REFERENCES: • Artificial Intelligence, 3rd Edn, E. Rich and K.Knight (TMH). • Artificial Intelligence, 3rd Edn, Patrick Henny Winston, Pearson Education. • Artificial Intelligence, Shivani Goel, Pearson Education. • Artificial Intelligence and Expert Systems- Patterson, Pearson Education. 4/25/2023 Dpaertment of CSE ( AL & ML) 2
  • 3. Topics covered in session 24 4/25/2023 Dpaertment of CSE ( AL & ML) 3 Logic and Knowledge Representation First-Order Logic: Representation, Syntax and Semantics of First-Order Logic, Using First-Order Logic, Knowledge Engineering in First-Order Logic. Inference in First-Order Logic: Propositional vs. First- Order Inference, Unification and Lifting, Forward Chaining, Backward Chaining, Resolution. Knowledge Representation: Ontological Engineering, Categories and Objects, Events. Mental Events and Mental Objects, Reasoning Systems for Categories, Reasoning with Default Information.
  • 4. Knowledge Representation • Ontological Engineering • Categories and Objects • Events • Mental Events and Mental Objects • Reasoning Systems for Categories • Reasoning with Default Information 4/25/2023 4 Dpaertment of CSE ( AL & ML)
  • 5. What is Ontology? • Ontology can be defined as “the science or study of being” and it deals with the nature of reality. • It is a system of belief that reflects an interpretation of an individual about what constitutes a fact. 4/25/2023 5 Dpaertment of CSE ( AL & ML)
  • 6. Ontological Engineering • Ontologies are constructed using knowledge representation languages and logics. An ontology consists of a set of concepts, axioms, and relationships that describe a domain of interest . – Create more general and flexible representations. – Concepts like actions, time, physical object and beliefs – Define general framework of concepts – Upper ontology – Limitations of logic representation • Red, green and yellow tomatoes: exceptions and uncertainty 4/25/2023 6 Dpaertment of CSE ( AL & ML)
  • 7. Ontological Engineering • Representing a general-purpose ontology is a difficult task called ontology engineering • Existing GP Ontologies have been created in different ways: • By team of trained oncologists • By importing concepts from database(s) • By extracting information from text documents • By inviting anybody to enter commonsense knowledge • Ontological engineering has only been partially successful, and few large AI systems are based on GP ontologies (use special purpose ontologies). 4/25/2023 7 Dpaertment of CSE ( AL & ML)
  • 8. • Each link indicates that the lower concept is a specialization of the upper one. Specializations are not necessarily disjoint; a human is both an animal and an agent, for example. 4/25/2023 8 Dpaertment of CSE ( AL & ML)
  • 9. Categories and objects Two choices for representation: • Predicate – Basketball(b) • Object – Basketballs – Member(b, Basketballs) – Subset(Basketballs, Balls) • Categories - Organizing Inheritance: – All instances of the category Food are edible • Fruit is a subclass of Food • Apples is a subclass of Fruit – Therefore, Apples are edible • The Class/Subclass relationships among Food, Fruit and Apples is a taxonomy. 4/25/2023 9 Dpaertment of CSE ( AL & ML)
  • 10. Categories- partitioning • Disjoint: The categories have no members in common – Disjoint(s)⇔(∀ c1,c2 c1 ∈ s ∧ c2 ∈ s ∧ c1 ≠ c2 ⇒ Intersection(c1,c2) ={}) – Example: Disjoint({animals, vegetables}) • Exhaustive Decomposition: Every member of the category is included in at least one of the subcategories – E.D.(s,c) ⇔ (∀ i i ∈ c ⇒ ∃ c2 c2 ∈ s ∧ i ∈ c2) – Example: Exhaustive Decomposition( {Americans, Canadian, Mexicans}, North Americans). • Partition: Disjoint exhaustive decomposition – Partition(s,c) ⇔ Disjoint(s) ∧ E.D.(s,c) – Example: Partition({Males, Females},Persons). – Is ({Americans, Canadian, Mexicans},North Americans) a partition? – No! There might be dual citizenships. • Categories can be defined by providing necessary and sufficient conditions for membership – ∀ x Bachelor(x) ⇔ Male(x) ∧ Adult(x) ∧ Unmarried(x) 4/25/2023 10 Dpaertment of CSE ( AL & ML)
  • 11. Categories and Objects Natural Kinds • Many categories have no clear-cut definitions (chair, bush, book). • Tomatoes: sometimes green, red, yellow, black, mostly round. • One solution: category Typical(Tomatoes) – ∀x x ∈ Typical(Tomatoes) ⇒ Red(x) ∧ Spherical(x) • We can write down useful facts about categories without providing exact definitions 4/25/2023 11 Dpaertment of CSE ( AL & ML)
  • 12. Physical composition • Physical composition – One object may be part of another: • PartOf(Seoul, South koarea) • PartOf(South korea, East Asia) • PartOf(East Asia, Asia) • The PartOf predicate is transitive (and reflexive) • so we can infer that PartOf(Seoul, Asia) • More generally: – ∀ x PartOf(x,x) – ∀ x,y,z PartOf(x,y) ∧ PartOf(y,z) ⇒ PartOf(x,z) • Often characterized by structural relations among parts. • E.g. Biped(a) ⇒ 4/25/2023 12 Dpaertment of CSE ( AL & ML)
  • 13. Categories and Objects Measurements • Objects have height, mass, cost, .... • Values that we assign to these are measures • Combine Unit functions with a number: – Length(L1) = Inches(1.5) = Centimeters(3.81). • Conversion between units: – ∀ i Centimeters(2.54 x i)=Inches(i). • Some measures have no scale: • Beauty, Difficulty, etc. • – Most important aspect of measures: they are orderable. – Don't care about the actual numbers. – (An apple can have deliciousness .9 or .1.) • Measures can be used to describe objects as follows: – Diameter(Basketball 12) = Inches(9.5) . – ListPrice (Basketball 12) = $(19) . – d ∈ Days ⇒ Duration(d) = Hours(24) . 4/25/2023 13 Dpaertment of CSE ( AL & ML)
  • 14. Events • Facts are treated as true independent of time • Events: need to describe what is true, when something is happening • For instance: Flying event • E ∈ Flying's • Flyer(E, Shankar) • Origin(E, SanFrancisco) • Destination(E, Baltimore) • We will consider two kinds of time intervals: moments and extended intervals. The distinction is that only moments have zero duration: • Partition({Moments, Extended Intervals}, Intervals) • i ∈ Moments ⇔ Duration(i) = Seconds(0) . • The function Duration gives the difference between the end time and the start time. • Interval(i) ⇒ Duration(i) = (Time(End(i)) Time(Begin(i))) . • Time(Begin(AD1900)) = Seconds(0) . • Time(Begin(AD2001)) = Seconds(3187324800) . • Time(End(AD2001)) = Seconds(3218860800) . • Duration(AD2001) = Seconds(31536000) . 4/25/2023 14 Dpaertment of CSE ( AL & ML)
  • 15. Events • Two intervals Meet if the end time of the first equals the star time of the second. The complete set of interval relations logically below: • Meet(i, j) ⇔ End(i) = Begin(j) • Before(i, j) ⇔ End(i) < Begin(j) • After(j, i) ⇔ Before(i, j) • During(i, j) ⇔ Begin(j) < Begin(i) < End(i) < End(j) • Overlap(i, j) ⇔ Begin(i) < Begin(j) < End(i) < End(j) • Begins(i, j) ⇔ Begin(i) = Begin(j) • Finishes(i, j) ⇔ End(i) = End(j) • Equals(i, j) ⇔ Begin(i) = Begin(j) ∧ End(i) = End(j) 4/25/2023 15 Dpaertment of CSE ( AL & ML)
  • 16. • Graphically Predicates on time intervals. 4/25/2023 16 Dpaertment of CSE ( AL & ML)
  • 17. • Physical objects can be viewed as generalized events, in the sense that a physical object is a chunk of space–time. • George Washington was president throughout 1790 • T (Equals (President(USA), George Washington), AD1790) Events A schematic view of the object President(USA) for the first 15 years of its existence. 4/25/2023 17 Dpaertment of CSE ( AL & ML)
  • 18. Mental events and objects • So far, KB agents can have beliefs and deduce new beliefs • What about knowledge about beliefs? What about knowledge about the inference process? – Requires a model of the mental objects in someone’s head and the processes that manipulate these objects. • Relationships between agents and mental objects: believes, knows, wants, – Believes(Lois, Flies(Superman)) with Flies(Superman) being a function . . . a candidate for a mental object (reification). – Agent can now reason about the beliefs of agents. • Modal logic solves some tricky issues with the interplay of quantifiers and knowledge. – particular someone who Bond knows is a spy ∃ x Kbond Spy(x) – Bond just knows that there is at least one spy – Kbond ∃ x Spy(x) 4/25/2023 Dpaertment of CSE ( AL & ML) 18
  • 19. Reasoning system for categories • Semantic Networks • Logic vs. semantic networks • Many variations – All represent individual objects, categories of objects and relationships among objects. – persons have two legs—that is – ∀ x x ∈ Persons ⇒ Legs(x, 2) • Allows for inheritance reasoning – Female persons inherit all properties from person. – OO programming. • Inference of inverse links – Sister Of vs. Has Sister 4/25/2023 Dpaertment of CSE ( AL & ML) 19
  • 20. Topics to be covered in next session 25 • Planning Thank you!!! 4/25/2023 Dpaertment of CSE ( AL & ML) 20