SlideShare a Scribd company logo
1 of 51
Semantic Nets, Frames,
World Representation
Knowledge Representation as a medium
for human expression
• An intelligent system must have KRs that can be
interpreted by humans.
– We need to be able to encode information in the knowledge base
without significant effort.
– We need to be able to understand what the system knows and
how it draws its conclusions.
Knowledge Representation
• Logic (prepositional, predicate)
• Network representation
– Semantic nets
• Structured representation
– Frames
• Issues in KR
– Hierarchies, inheritance, exceptions
• Advantages and disadvantages
Semantic Networks
• First introduced by Quillian back in the late-60s
M. Ross Quillian. "Semantic Memories", In M. M. Minsky, editor, Semantic
Information Processing, pages 216-270. Cambridge, MA: MIT Press, 1968
• Semantic network is simple representation scheme
which uses a graph of labeled nodes and labeled
directed arcs to encode knowledge
– Nodes – objects, concepts, events
– Arcs – relationships between nodes
• Graphical depiction associated with semantic networks
is a big reason for their popularity
A brief look at semantic
networks
• A semantic network is an
irregular graph that has
concepts in vertices and
relations on arcs.
• Relations can be ad-hoc,
but they can also be quite
general, for example, “is a”
(ISA), “a kind of” (AKO), “an
instance of”, “part of”.
• Relations often express
physical properties of
objects (colour, length, and
lots of others).
• Most often, relations link
two concepts.
... semantic networks (2)
• General semantic relations help represent the meaning
of simple sentences in a systematic way.
• A sentence is centred on a verb that expects certain
arguments.
• For example, verbs usually denotes actions (with
agents) or states (with passive experiencers, for
example, “he dreams” or “he is sick”).
Nodes and Arcs
• Arcs define binary relations which hold between objects
denoted by the nodes.
Sue John 5
Max
34
mother age
father
age
mother (john, sue)
age (john, 5)
wife (sue, max)
age (max, 34)
…
Non-binary relations
• We can represent the generic give event as a relation
involving three things:
– A giver
– A recipient
– An object
Mary GIVE John
book
recipient giver
object
Inheritance
• Inheritance is one of the main
kind of reasoning done in
semantic nets
• The ISA (is a) relation is often
used to link a class and its
superclass.
• Some links (e.g. haspart) are
inherited along ISA paths
• The semantics of a semantic net
can be relatively informal or very
formal
– Often defined at the implementation
level
Bird
Robin
Rusty
isa
Red
isa isa
Animal
isa
Wings
hasPart
Multiple Inheritance
• A node can have any number of superclasses that contain
it, enabling a node to inherit properties from multiple
parent nodes and their ancestors in the network. It can
cause conflicting inheritance.
Nixon Diamond
(two contradictory inferences from the same data)
Person
subclass
non-pacifist
Nixon
Republican
Quaker
pacifist
subclass
instance
R
instance
Q
N
P ? !P
Example
Advantages of Semantic nets
• Easy to visualize
• Formal definitions of semantic networks have been
developed.
• Related knowledge is easily clustered.
• Efficient in space requirements
– Objects represented only once
– Relationships handled by pointers
Disadvantages of Semantic nets
• Inheritance (particularly from multiple sources and when
exceptions in inheritance are wanted) can cause
problems.
• Facts placed inappropriately cause problems.
• No standards about node and arc values
Conceptual Graphs
• Conceptual graphs are semantic nets representing the
meaning of (simple) sentences in natural language
• Two types of nodes:
– Concept nodes; there are two types of concepts, individual
concepts and generic concepts
– Relation nodes(binary relations between concepts)
GO
BUS
NEW YORK
JOHN
Who
How
Where
Conceptual graphs
• John Sowa created the
conceptual graph
notation in 1984. It has
substantial
philosophical and
psychological
motivation.
• It is still quite a popular
knowledge
representation
formalism, especially in
semantic processing of
language, and a topic of
interesting research.
• Conceptual graphs can
be expressed in first-
order logic but due to its
graphical form it may be
easier to understand
than logic.
Parents is a 3-ary relation.
Conceptual graphs (2)
Conceptual graphs (3)
Her name was Magill, and she called herself
Lil,
but everyone knew her as Nancy.
Lil
Conceptual graphs (4)
Variables allow us to express
the identity of an individual.
Conceptual graphs (5)
Specialization and type hierarchy
dogs are animals
(g1) A brown dog eats a bone.
(g2) ... Emma, the brown animal on
the porch...
(g3) ... Emma, the brown dog on the
porch...
(g4) Emma, the brown dog on the
porch, eats a bone.
The challenge is to get this from text!
Conceptual graphs (6)
Inheritance
Beyond first-order logic
Conceptual graphs (7)
Two simple puzzles
Negation and quantification
Frames
• Frames – semantic net with properties
• A frame represents an entity as a set of slots (attributes)
and associated values
• A frame can represent a specific entry, or a general
concept
• Frames are implicitly associated with one another
because the value of a slot can be another frame
Book Frame
Slot  Filler
•Title  AI. A modern Approach
•Author  Russell & Norvig
•Year  2003
3 components of a frame
•frame name
•attributes (slots)
•values (fillers: list of values,
range, string, etc.)
Frames and frame systems
• A frame represents a
concept;
• a frame system represents
an organization of
knowledge about a set of
related concepts.
• A frame has slots that
denote properties of
objects. Some slots have
default fillers, some are
empty (may be filled when
more becomes known
about an object).
• Frames are linked by
relations of
specialization/generalizatio
n and by many ad-hoc
relations.
Features of Frame Representation
• More natural support of values then semantic nets (each
slots has constraints describing legal values that a slot
can take)
• Can be easily implemented using object-oriented
programming techniques
• Inheritance is easily controlled
Inheritance
• Similar to Object-Oriented programming paradigm
Hotel Room
•what  room
•where hotel
•contains
–hotel chair
–hotel phone
–hotel bed
Hotel Chair
•what  chair
•height 20-40cm
•legs  4
Hotel Phone
•what  phone
•billing  guest
Hotel Bed
•what  bed
•size king
•part  mattress
Mattress
•price  100$
Modern Data-Bases combine three approaches:
conceptual graphs, frames, predicate logic
(relational algebra)
Benefits of Frames
• Makes programming easier by grouping related
knowledge
• Easily understood by non-developers
• Expressive power
• Easy to set up slots for new properties and relations
• Easy to include default information and detect missing
values
Drawbacks of Frames
• No standards (slot-filler values)
• More of a general methodology than a specific
representation:
– Frame for a class-room will be different for a professor and for a
maintenance worker
• No associated reasoning/inference mechanisms
Description Logic
• There is a family of frame-like KR systems with a formal
semantics
– KL-ONE, Classic
• A subset of FOL designed to focus on categories and
their definitions in terms of existing relations. Automatic
classification
– Finding the right place in a hierarchy of objects for a new
description
• More expressive than frames and semantic networks
• Major inference tasks:
– Subsumption
Is category C1 a subset of C2?
– Classification
Does Object O belong to C?
•Bi-partite view of knowledge representation
1. Descriptions
2. Assertions
•Entities can be “described” without making any
particular assertions about them
•Descriptions are made from other descriptions using
a very small set of operators
KL-ONE (Brachman, 1977)
CYC
• A knowledge engineering effort
• Encoding of large amounts of knowledge
about the everyday world
• 1984-present
• A person century of effort
• 106 general concepts and axioms
Example Assertions
• You have to be awake to eat.
• You can usually see people’s noses but not their
hearts.
• Given two professions, either one is a
specialization of the other or they are likely to be
independent.
• You cannot remember events that have not
happened yet.
• If you cut a lump of peanut butter in half, each
half is also a lump of peanut butter; but if you cut
a table in half, neither half is a table.
Contexts
• Heart surgery
• Total darkness
• Fiction
• Ephemeral: indexicals
• Default context
Why we can’t use natural language
• The police arrested the demonstrators
because they feared violence.
• The police arrested the demonstrators
because they advocated violence.
• The box is in the pen.
• The pen is in the box.
• Mary poured the water into the tea kettle;
when it whistled, she poured the water into
her cup (for translation to Japanese)
Representing Terms
• 1000 different occupations
• Assertion that each occupation is
independent
• A surgeon is a doctor
• Masons are builder
• NOT surgeons are rarely masons
• Atomic concepts
• Somewhere between promiscuity and perspicacity
Ontology
• CYC and others: shareable ontologies
• Available for many different applications to use
• Semantic web
• An ontology describes the set of
representational terms
• Provides definitions
• Carves up the world
Connected:
Two Case Studies
• Physical quantities, units of measure, and
algebra for engineering models
• An ontology for sharing bibliographic data
Bibliographic Data
• What concepts do we need to know
about?
Rational
• Why are documents distinct from
references?
• Why distinguish publishers and authors?
• Why represent time points?
• => integrity constraints
• => independence from the data
OVERFLOW
• Semantic nets: originally developed for
mapping sentences (NLP). Example with
Shank’s graphs.

More Related Content

What's hot

Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AIMegha Sharma
 
Logic programming (1)
Logic programming (1)Logic programming (1)
Logic programming (1)Nitesh Singh
 
Prolog Programming : Basics
Prolog Programming : BasicsProlog Programming : Basics
Prolog Programming : BasicsMitul Desai
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam searchHema Kashyap
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDigiGurukul
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 
Information retrieval 10 tf idf and bag of words
Information retrieval 10 tf idf and bag of wordsInformation retrieval 10 tf idf and bag of words
Information retrieval 10 tf idf and bag of wordsVaibhav Khanna
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsNuruzzaman Milon
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic ReasoningJunya Tanaka
 
Local beam search example
Local beam search exampleLocal beam search example
Local beam search exampleMegha Sharma
 
Introduction to prolog
Introduction to prologIntroduction to prolog
Introduction to prologHarry Potter
 
Ch3 4 regular expression and grammar
Ch3 4 regular expression and grammarCh3 4 regular expression and grammar
Ch3 4 regular expression and grammarmeresie tesfay
 

What's hot (20)

Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
strong slot and filler
strong slot and fillerstrong slot and filler
strong slot and filler
 
Logic programming (1)
Logic programming (1)Logic programming (1)
Logic programming (1)
 
Prolog Programming : Basics
Prolog Programming : BasicsProlog Programming : Basics
Prolog Programming : Basics
 
Lecture 26 local beam search
Lecture 26 local beam searchLecture 26 local beam search
Lecture 26 local beam search
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th Sem
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
COMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed TranslationCOMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed Translation
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Information retrieval 10 tf idf and bag of words
Information retrieval 10 tf idf and bag of wordsInformation retrieval 10 tf idf and bag of words
Information retrieval 10 tf idf and bag of words
 
First order logic
First order logicFirst order logic
First order logic
 
Artificial intelligence- Logic Agents
Artificial intelligence- Logic AgentsArtificial intelligence- Logic Agents
Artificial intelligence- Logic Agents
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
Np hard
Np hardNp hard
Np hard
 
Lecture 6 expert systems
Lecture 6   expert systemsLecture 6   expert systems
Lecture 6 expert systems
 
Daa notes 3
Daa notes 3Daa notes 3
Daa notes 3
 
Local beam search example
Local beam search exampleLocal beam search example
Local beam search example
 
Introduction to prolog
Introduction to prologIntroduction to prolog
Introduction to prolog
 
Ch3 4 regular expression and grammar
Ch3 4 regular expression and grammarCh3 4 regular expression and grammar
Ch3 4 regular expression and grammar
 
Analysis of Algorithm
Analysis of AlgorithmAnalysis of Algorithm
Analysis of Algorithm
 

Similar to frames.pptx

Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inferenceEyob Sisay
 
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)Mintoo Jakhmola
 
Graphs, frames and related structures
Graphs, frames and related structuresGraphs, frames and related structures
Graphs, frames and related structuresSURBHI SAROHA
 
Mdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsMdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsRafael Alvarado
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesRafael Alvarado
 
Knowing what we’re talking about
Knowing what we’re talking aboutKnowing what we’re talking about
Knowing what we’re talking aboutrobertstevens65
 
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
 
chapter2 Know.representation.pptx
chapter2 Know.representation.pptxchapter2 Know.representation.pptx
chapter2 Know.representation.pptxwendifrawtadesse1
 
The Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyThe Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyMyungjin Lee
 
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
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptxSwatiHans10
 
Introduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfIntroduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfssuser8324dd
 
UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24Rafael Alvarado
 
Ontology modelling and the semantic web
Ontology modelling and the semantic webOntology modelling and the semantic web
Ontology modelling and the semantic webasgeirr
 

Similar to frames.pptx (20)

Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inference
 
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)
Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)
 
Graphs, frames and related structures
Graphs, frames and related structuresGraphs, frames and related structures
Graphs, frames and related structures
 
Mdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsMdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signals
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databases
 
Knowing what we’re talking about
Knowing what we’re talking aboutKnowing what we’re talking about
Knowing what we’re talking about
 
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...
 
chapter2 Know.representation.pptx
chapter2 Know.representation.pptxchapter2 Know.representation.pptx
chapter2 Know.representation.pptx
 
Representation of knowledge
Representation of knowledgeRepresentation of knowledge
Representation of knowledge
 
The Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyThe Semantic Web #8 - Ontology
The Semantic Web #8 - Ontology
 
Lesson 19
Lesson 19Lesson 19
Lesson 19
 
AI Lesson 19
AI Lesson 19AI Lesson 19
AI Lesson 19
 
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
 
Week 8 class 1 1 b
Week 8 class 1 1 bWeek 8 class 1 1 b
Week 8 class 1 1 b
 
knowledge representation.pptx
knowledge representation.pptxknowledge representation.pptx
knowledge representation.pptx
 
Introduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfIntroduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdf
 
UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24
 
Ontology modelling and the semantic web
Ontology modelling and the semantic webOntology modelling and the semantic web
Ontology modelling and the semantic web
 
semantic.ppt
semantic.pptsemantic.ppt
semantic.ppt
 
uploadscribd2.pptx
uploadscribd2.pptxuploadscribd2.pptx
uploadscribd2.pptx
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 

Recently uploaded (20)

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 

frames.pptx

  • 2. Knowledge Representation as a medium for human expression • An intelligent system must have KRs that can be interpreted by humans. – We need to be able to encode information in the knowledge base without significant effort. – We need to be able to understand what the system knows and how it draws its conclusions.
  • 3. Knowledge Representation • Logic (prepositional, predicate) • Network representation – Semantic nets • Structured representation – Frames • Issues in KR – Hierarchies, inheritance, exceptions • Advantages and disadvantages
  • 4. Semantic Networks • First introduced by Quillian back in the late-60s M. Ross Quillian. "Semantic Memories", In M. M. Minsky, editor, Semantic Information Processing, pages 216-270. Cambridge, MA: MIT Press, 1968 • Semantic network is simple representation scheme which uses a graph of labeled nodes and labeled directed arcs to encode knowledge – Nodes – objects, concepts, events – Arcs – relationships between nodes • Graphical depiction associated with semantic networks is a big reason for their popularity
  • 5. A brief look at semantic networks • A semantic network is an irregular graph that has concepts in vertices and relations on arcs. • Relations can be ad-hoc, but they can also be quite general, for example, “is a” (ISA), “a kind of” (AKO), “an instance of”, “part of”. • Relations often express physical properties of objects (colour, length, and lots of others). • Most often, relations link two concepts.
  • 6. ... semantic networks (2) • General semantic relations help represent the meaning of simple sentences in a systematic way. • A sentence is centred on a verb that expects certain arguments. • For example, verbs usually denotes actions (with agents) or states (with passive experiencers, for example, “he dreams” or “he is sick”).
  • 7. Nodes and Arcs • Arcs define binary relations which hold between objects denoted by the nodes. Sue John 5 Max 34 mother age father age mother (john, sue) age (john, 5) wife (sue, max) age (max, 34) …
  • 8. Non-binary relations • We can represent the generic give event as a relation involving three things: – A giver – A recipient – An object Mary GIVE John book recipient giver object
  • 9. Inheritance • Inheritance is one of the main kind of reasoning done in semantic nets • The ISA (is a) relation is often used to link a class and its superclass. • Some links (e.g. haspart) are inherited along ISA paths • The semantics of a semantic net can be relatively informal or very formal – Often defined at the implementation level Bird Robin Rusty isa Red isa isa Animal isa Wings hasPart
  • 10. Multiple Inheritance • A node can have any number of superclasses that contain it, enabling a node to inherit properties from multiple parent nodes and their ancestors in the network. It can cause conflicting inheritance. Nixon Diamond (two contradictory inferences from the same data) Person subclass non-pacifist Nixon Republican Quaker pacifist subclass instance R instance Q N P ? !P
  • 12. Advantages of Semantic nets • Easy to visualize • Formal definitions of semantic networks have been developed. • Related knowledge is easily clustered. • Efficient in space requirements – Objects represented only once – Relationships handled by pointers
  • 13. Disadvantages of Semantic nets • Inheritance (particularly from multiple sources and when exceptions in inheritance are wanted) can cause problems. • Facts placed inappropriately cause problems. • No standards about node and arc values
  • 14. Conceptual Graphs • Conceptual graphs are semantic nets representing the meaning of (simple) sentences in natural language • Two types of nodes: – Concept nodes; there are two types of concepts, individual concepts and generic concepts – Relation nodes(binary relations between concepts) GO BUS NEW YORK JOHN Who How Where
  • 15. Conceptual graphs • John Sowa created the conceptual graph notation in 1984. It has substantial philosophical and psychological motivation. • It is still quite a popular knowledge representation formalism, especially in semantic processing of language, and a topic of interesting research. • Conceptual graphs can be expressed in first- order logic but due to its graphical form it may be easier to understand than logic. Parents is a 3-ary relation.
  • 17. Conceptual graphs (3) Her name was Magill, and she called herself Lil, but everyone knew her as Nancy. Lil
  • 18. Conceptual graphs (4) Variables allow us to express the identity of an individual.
  • 19. Conceptual graphs (5) Specialization and type hierarchy dogs are animals (g1) A brown dog eats a bone. (g2) ... Emma, the brown animal on the porch... (g3) ... Emma, the brown dog on the porch... (g4) Emma, the brown dog on the porch, eats a bone. The challenge is to get this from text!
  • 21. Conceptual graphs (7) Two simple puzzles Negation and quantification
  • 22. Frames • Frames – semantic net with properties • A frame represents an entity as a set of slots (attributes) and associated values • A frame can represent a specific entry, or a general concept • Frames are implicitly associated with one another because the value of a slot can be another frame Book Frame Slot  Filler •Title  AI. A modern Approach •Author  Russell & Norvig •Year  2003 3 components of a frame •frame name •attributes (slots) •values (fillers: list of values, range, string, etc.)
  • 23. Frames and frame systems • A frame represents a concept; • a frame system represents an organization of knowledge about a set of related concepts. • A frame has slots that denote properties of objects. Some slots have default fillers, some are empty (may be filled when more becomes known about an object). • Frames are linked by relations of specialization/generalizatio n and by many ad-hoc relations.
  • 24. Features of Frame Representation • More natural support of values then semantic nets (each slots has constraints describing legal values that a slot can take) • Can be easily implemented using object-oriented programming techniques • Inheritance is easily controlled
  • 25. Inheritance • Similar to Object-Oriented programming paradigm Hotel Room •what  room •where hotel •contains –hotel chair –hotel phone –hotel bed Hotel Chair •what  chair •height 20-40cm •legs  4 Hotel Phone •what  phone •billing  guest Hotel Bed •what  bed •size king •part  mattress Mattress •price  100$
  • 26. Modern Data-Bases combine three approaches: conceptual graphs, frames, predicate logic (relational algebra)
  • 27. Benefits of Frames • Makes programming easier by grouping related knowledge • Easily understood by non-developers • Expressive power • Easy to set up slots for new properties and relations • Easy to include default information and detect missing values
  • 28. Drawbacks of Frames • No standards (slot-filler values) • More of a general methodology than a specific representation: – Frame for a class-room will be different for a professor and for a maintenance worker • No associated reasoning/inference mechanisms
  • 29. Description Logic • There is a family of frame-like KR systems with a formal semantics – KL-ONE, Classic • A subset of FOL designed to focus on categories and their definitions in terms of existing relations. Automatic classification – Finding the right place in a hierarchy of objects for a new description • More expressive than frames and semantic networks • Major inference tasks: – Subsumption Is category C1 a subset of C2? – Classification Does Object O belong to C?
  • 30. •Bi-partite view of knowledge representation 1. Descriptions 2. Assertions •Entities can be “described” without making any particular assertions about them •Descriptions are made from other descriptions using a very small set of operators KL-ONE (Brachman, 1977)
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. CYC • A knowledge engineering effort • Encoding of large amounts of knowledge about the everyday world • 1984-present • A person century of effort • 106 general concepts and axioms
  • 38. Example Assertions • You have to be awake to eat. • You can usually see people’s noses but not their hearts. • Given two professions, either one is a specialization of the other or they are likely to be independent. • You cannot remember events that have not happened yet. • If you cut a lump of peanut butter in half, each half is also a lump of peanut butter; but if you cut a table in half, neither half is a table.
  • 39. Contexts • Heart surgery • Total darkness • Fiction • Ephemeral: indexicals • Default context
  • 40. Why we can’t use natural language • The police arrested the demonstrators because they feared violence. • The police arrested the demonstrators because they advocated violence. • The box is in the pen. • The pen is in the box. • Mary poured the water into the tea kettle; when it whistled, she poured the water into her cup (for translation to Japanese)
  • 41. Representing Terms • 1000 different occupations • Assertion that each occupation is independent • A surgeon is a doctor • Masons are builder • NOT surgeons are rarely masons • Atomic concepts • Somewhere between promiscuity and perspicacity
  • 42. Ontology • CYC and others: shareable ontologies • Available for many different applications to use • Semantic web • An ontology describes the set of representational terms • Provides definitions • Carves up the world
  • 43.
  • 45. Two Case Studies • Physical quantities, units of measure, and algebra for engineering models • An ontology for sharing bibliographic data
  • 46. Bibliographic Data • What concepts do we need to know about?
  • 47.
  • 48.
  • 49. Rational • Why are documents distinct from references? • Why distinguish publishers and authors? • Why represent time points? • => integrity constraints • => independence from the data
  • 50.
  • 51. OVERFLOW • Semantic nets: originally developed for mapping sentences (NLP). Example with Shank’s graphs.