SlideShare a Scribd company logo
Weak Slot and Filler Structures
Why use this data structure?

• It enables attribute values to be retrieved
  quickly
• Properties of relations are easy to describe .
• It allows ease of consideration as it embraces
  aspects of object oriented programming.
WHAT
• A slot is an attribute value pair in its simplest
  form.
• A filler is a value that a slot can take -- could
  be a numeric, string (or any data type) value
  or a pointer to another slot.
• A weak slot and filler structure does not
  consider the content of the representation.
SEMANTIC NETS

The major idea is that:
• The meaning of a concept comes from its
  relationship to other concepts, and that,
• The information is stored by interconnecting
  nodes with labeled arcs.
• Semantic nets initially we used to represent
  labeled connections between nodes.
Representation in a Semantic Net




These values can also be represented in logic as: isa(person, mammal),
instance(Mike-Hall, person) team(Mike-Hall, Cardiff)
As a more complex example consider the sentence: John gave
  Mary the book. Here we have several aspects of an event.
Intersection search

• The notion that spreading activation out of
  two nodes and finding their intersection finds
  relationships among objects. This is achieved
  by assigning a special tag to each visited node.
INHERITANCE
• The isa and instance representation provide a
  mechanism to implement this.
• Inheritance also provides a means of dealing
  with default reasoning. E.g. we could
  represent:
• Emus are birds.
• Typically birds fly and have wings.
• Emus run.
A Semantic Network for a Default
           Reasoning
In making certain inferences we will also need to
   distinguish between the link that defines a new
   entity and holds its value and the other kind of
   link that relates two existing entities. Consider
   the example shown where the height of two
   people is depicted and we also wish to compare
   them.




      We need extra nodes for the concept as well as its value.
Comparison of two heights
FRAMES
• A frame is a collection of attributes or slots and
  associated values that describe some real world
  entity. Frames on their own are not particularly
  helpful but frame systems are a powerful way of
  encoding information to support reasoning. Set
  theory provides a good basis for understanding
  frame systems. Each frame represents:
• a class (set), or
• an instance (an element of a class).
A simple frame system
Frame system
• Person
      isa:         Mammal
      Cardinality: …….

• Adult-Male
     isa:          Person
      Cardinality: …….

• Rugby-Player
      isa:         Adult-Male
      Cardinality: …….
• Here the frames Person, Adult-Male, Rugby-
  Player are all classes and the frames Cardiff-
  RFC are instances.

More Related Content

What's hot

Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
Sajid Marwat
 

What's hot (20)

Informed search
Informed searchInformed search
Informed search
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
 
Semantic nets in artificial intelligence
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligence
 
Ch 6 final
Ch 6 finalCh 6 final
Ch 6 final
 
Script
ScriptScript
Script
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
Chapter 09 classification advanced
Chapter 09 classification advancedChapter 09 classification advanced
Chapter 09 classification advanced
 
Decision trees for machine learning
Decision trees for machine learningDecision trees for machine learning
Decision trees for machine learning
 
Semantic net in AI
Semantic net in AISemantic net in AI
Semantic net in AI
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
 
Decision tree
Decision treeDecision tree
Decision tree
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
 
Adversarial search with Game Playing
Adversarial search with Game PlayingAdversarial search with Game Playing
Adversarial search with Game Playing
 
3.2 partitioning methods
3.2 partitioning methods3.2 partitioning methods
3.2 partitioning methods
 
And or graph
And or graphAnd or graph
And or graph
 
Multimedia Mining
Multimedia Mining Multimedia Mining
Multimedia Mining
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
 
Data Mining Concepts
Data Mining ConceptsData Mining Concepts
Data Mining Concepts
 

Similar to Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)

Semantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
Semantic Nets_ FramesadcvacacaccasssxdssxdsxdsaxsaxdxdSemantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
Semantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
Vikas Bhowate
 
Graphs, frames and related structures
Graphs, frames and related structuresGraphs, frames and related structures
Graphs, frames and related structures
SURBHI SAROHA
 
artificial intelligence that covers frames
artificial intelligence that covers framesartificial intelligence that covers frames
artificial intelligence that covers frames
picnew83
 
Adhoc frames conceptual graphs
Adhoc frames conceptual graphsAdhoc frames conceptual graphs
Adhoc frames conceptual graphs
Ayaz Shariff
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databases
Rafael Alvarado
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptx
nilesh405711
 

Similar to Weak Slot and Filler Structure (by Mintoo Jakhmola LPU) (20)

Lesson 19
Lesson 19Lesson 19
Lesson 19
 
AI Lesson 19
AI Lesson 19AI Lesson 19
AI Lesson 19
 
semantic.ppt
semantic.pptsemantic.ppt
semantic.ppt
 
FRAMES_091422.pptx
FRAMES_091422.pptxFRAMES_091422.pptx
FRAMES_091422.pptx
 
frames.pptx
frames.pptxframes.pptx
frames.pptx
 
Semantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
Semantic Nets_ FramesadcvacacaccasssxdssxdsxdsaxsaxdxdSemantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
Semantic Nets_ Framesadcvacacaccasssxdssxdsxdsaxsaxdxd
 
Graphs, frames and related structures
Graphs, frames and related structuresGraphs, frames and related structures
Graphs, frames and related structures
 
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
 
Database design
Database designDatabase design
Database design
 
KNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.pptKNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.ppt
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP Systems
 
4KN Editted 2012.ppt
4KN Editted 2012.ppt4KN Editted 2012.ppt
4KN Editted 2012.ppt
 
artificial intelligence that covers frames
artificial intelligence that covers framesartificial intelligence that covers frames
artificial intelligence that covers frames
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Adhoc frames conceptual graphs
Adhoc frames conceptual graphsAdhoc frames conceptual graphs
Adhoc frames conceptual graphs
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databases
 
Representation of knowledge
Representation of knowledgeRepresentation of knowledge
Representation of knowledge
 
uploadscribd2.pptx
uploadscribd2.pptxuploadscribd2.pptx
uploadscribd2.pptx
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptx
 
Reasoning Over Knowledge Base
Reasoning Over Knowledge BaseReasoning Over Knowledge Base
Reasoning Over Knowledge Base
 

More from Mintoo Jakhmola

More from Mintoo Jakhmola (7)

Linux Vs Unix
Linux Vs UnixLinux Vs Unix
Linux Vs Unix
 
Backing Up and Retreiving files (by Mintoo Jakhmola
Backing Up and Retreiving files (by Mintoo JakhmolaBacking Up and Retreiving files (by Mintoo Jakhmola
Backing Up and Retreiving files (by Mintoo Jakhmola
 
Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)Wireless Application Protocol (by Mintoo Jakhmola)
Wireless Application Protocol (by Mintoo Jakhmola)
 
Source-to-Source Compiler
Source-to-Source CompilerSource-to-Source Compiler
Source-to-Source Compiler
 
Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognition
 
Artificial intelligence (by Mintoo Jakhmola)
Artificial intelligence (by Mintoo Jakhmola)Artificial intelligence (by Mintoo Jakhmola)
Artificial intelligence (by Mintoo Jakhmola)
 
Animation (by Mintoo Jakhmola)
Animation (by Mintoo Jakhmola)Animation (by Mintoo Jakhmola)
Animation (by Mintoo Jakhmola)
 

Recently uploaded

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
17thcssbs2
 

Recently uploaded (20)

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdfPost Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
Post Exam Fun(da) Intra UEM General Quiz 2024 - Prelims q&a.pdf
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 

Weak Slot and Filler Structure (by Mintoo Jakhmola LPU)

  • 1. Weak Slot and Filler Structures
  • 2. Why use this data structure? • It enables attribute values to be retrieved quickly • Properties of relations are easy to describe . • It allows ease of consideration as it embraces aspects of object oriented programming.
  • 3. WHAT • A slot is an attribute value pair in its simplest form. • A filler is a value that a slot can take -- could be a numeric, string (or any data type) value or a pointer to another slot. • A weak slot and filler structure does not consider the content of the representation.
  • 4. SEMANTIC NETS The major idea is that: • The meaning of a concept comes from its relationship to other concepts, and that, • The information is stored by interconnecting nodes with labeled arcs. • Semantic nets initially we used to represent labeled connections between nodes.
  • 5. Representation in a Semantic Net These values can also be represented in logic as: isa(person, mammal), instance(Mike-Hall, person) team(Mike-Hall, Cardiff)
  • 6. As a more complex example consider the sentence: John gave Mary the book. Here we have several aspects of an event.
  • 7. Intersection search • The notion that spreading activation out of two nodes and finding their intersection finds relationships among objects. This is achieved by assigning a special tag to each visited node.
  • 8. INHERITANCE • The isa and instance representation provide a mechanism to implement this. • Inheritance also provides a means of dealing with default reasoning. E.g. we could represent: • Emus are birds. • Typically birds fly and have wings. • Emus run.
  • 9. A Semantic Network for a Default Reasoning
  • 10. In making certain inferences we will also need to distinguish between the link that defines a new entity and holds its value and the other kind of link that relates two existing entities. Consider the example shown where the height of two people is depicted and we also wish to compare them. We need extra nodes for the concept as well as its value.
  • 11. Comparison of two heights
  • 12. FRAMES • A frame is a collection of attributes or slots and associated values that describe some real world entity. Frames on their own are not particularly helpful but frame systems are a powerful way of encoding information to support reasoning. Set theory provides a good basis for understanding frame systems. Each frame represents: • a class (set), or • an instance (an element of a class).
  • 13. A simple frame system
  • 14. Frame system • Person isa: Mammal Cardinality: ……. • Adult-Male isa: Person Cardinality: ……. • Rugby-Player isa: Adult-Male Cardinality: …….
  • 15. • Here the frames Person, Adult-Male, Rugby- Player are all classes and the frames Cardiff- RFC are instances.