SlideShare a Scribd company logo
1 of 11
Download to read offline
Module
               8
Other representation
         formalisms
           Version 2 CSE IIT, Kharagpur
8.1 Instructional Objective
•   The students should understand the syntax and semantic of semantic networks
•   Students should learn about different constructs and relations supported by semantic
    networks
•   Students should be able to design semantic nets to represent real life problems
•   The student should be familiar with reasoning techniques in semantic nets
•   Students should be familiar with syntax and semantic of frames
•   Students should be able to obtain frame representation of a real life problem
•   Inferencing mechanism in frames should be understood.

At the end of this lesson the student should be able to do the following:
    • Represent a real life problem in terms of semantic networks and frames
    • Apply inferencing mechanism on this knowledge-base.




                                                          Version 2 CSE IIT, Kharagpur
Lesson
        19
Semantic nets

     Version 2 CSE IIT, Kharagpur
8. 2 Knowledge Representation Formalisms
Some of the abstract knowledge representation mechanisms are the following:

Simple relational knowledge
The simplest way of storing facts is to use a relational method where each fact about a set
of objects is set out systematically in columns. This representation gives little opportunity
for inference, but it can be used as the knowledge basis for inference engines.

   •   Simple way to store facts.
   •   Each fact about a set of objects is set out systematically in columns.
   •   Little opportunity for inference.
   •   Knowledge basis for inference engines.




We can ask things like:

   •   Who is dead?
   •   Who plays Jazz/Trumpet etc.?

This sort of representation is popular in database systems.

Inheritable knowledge
Relational knowledge is made up of objects consisting of

   •   attributes
   •   corresponding associated values.

We extend the base more by allowing inference mechanisms:

   •   Property inheritance
          o elements inherit values from being members of a class.
          o data must be organised into a hierarchy of classes.




                                                              Version 2 CSE IIT, Kharagpur
•    Boxed nodes -- objects and values of attributes of objects.
   •    Values can be objects with attributes and so on.
   •    Arrows -- point from object to its value.
   •    This structure is known as a slot and filler structure, semantic network or a
        collection of frames.

The algorithm to retrieve a value for an attribute of an instance object:

   1.   Find the object in the knowledge base
   2.   If there is a value for the attribute report it
   3.   Otherwise look for a value of instance if none fail
   4.   Otherwise go to that node and find a value for the attribute and then report it
   5.   Otherwise search through using isa until a value is found for the attribute.

Inferential Knowledge
Represent knowledge as formal logic:

All dogs have tails   : dog(x)   hasatail(x) Advantages:

   •    A set of strict rules.
           o Can be used to derive more facts.
           o Truths of new statements can be verified.
           o Guaranteed correctness.
   •    Many inference procedures available to in implement standard rules of logic.
   •    Popular in AI systems. e.g Automated theorem proving.


                                                             Version 2 CSE IIT, Kharagpur
Procedural knowledge
Basic idea:

   •   Knowledge encoded in some procedures
          o small programs that know how to do specific things, how to proceed.
          o e.g a parser in a natural language understander has the knowledge that a
             noun phrase may contain articles, adjectives and nouns. It is represented
             by calls to routines that know how to process articles, adjectives and
             nouns.

Advantages:

   •   Heuristic or domain specific knowledge can be represented.
   •   Extended logical inferences, such as default reasoning facilitated.
   •   Side effects of actions may be modelled. Some rules may become false in time.
       Keeping track of this in large systems may be tricky.

Disadvantages:

   •   Completeness -- not all cases may be represented.
   •   Consistency -- not all deductions may be correct.

       e.g If we know that Fred is a bird we might deduce that Fred can fly. Later we
       might discover that Fred is an emu.

   •   Modularity is sacrificed. Changes in knowledge base might have far-reaching
       effects.
   •   Cumbersome control information.

The following properties should be possessed by a knowledge representation system.

Representational Adequacy
       -- the ability to represent the required knowledge;
Inferential Adequacy
       - the ability to manipulate the knowledge represented to produce new knowledge
       corresponding to that inferred from the original;
Inferential Efficiency
       - the ability to direct the inferential mechanisms into the most productive
       directions by storing appropriate guides;
Acquisitional Efficiency
       - the ability to acquire new knowledge using automatic methods wherever
       possible rather than reliance on human intervention.

To date no single system optimises all of the above. We will discuss in this module two
formalisms, namely, semantic networks and frames, which trades off representational
adequacy for inferential and acquisitional efficiency.
                                                           Version 2 CSE IIT, Kharagpur
5.3 Semantic Networks
A semantic network is often used as a form of knowledge representation. It is a directed
graph consisting of vertices which represent concepts and edges which represent
semantic relations between the concepts.
The following semantic relations are commonly represented in a semantic net.

Meronymy (A is part of B)

Holonymy (B has A as a part of itself)

Hyponymy (or troponymy) (A is subordinate of B; A is kind of B)

Hypernymy (A is superordinate of B)

Synonymy (A denotes the same as B)

Antonymy (A denotes the opposite of B)

Example

The physical attributes of a person can be represented as in the following figure using a
semantic net.




These values can also be represented in logic as: isa(person, mammal), instance(Mike-
Hall, person) team(Mike-Hall, Cardiff)

We know that conventional predicates such as lecturer(dave) can be written as instance
(dave, lecturer) Recall that isa and instance represent inheritance and are popular in
many knowledge representation schemes. But we have a problem: How we can have
more than 2 place predicates in semantic nets? E.g. score(Cardiff, Llanelli, 23-6)

Solution:

   •   Create new nodes to represent new objects either contained or alluded to in the
       knowledge, game and fixture in the current example.
   •   Relate information to nodes and fill up slots.

                                                           Version 2 CSE IIT, Kharagpur
As a more complex example consider the sentence: John gave Mary the book. Here we
have several aspects of an event.




5.3.1 Inference in a Semantic Net
Basic inference mechanism: follow links between nodes.

Two methods to do this:

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.

       Many advantages including entity-based organisation and fast parallel
       implementation. However very structured questions need highly structured
       networks.




                                                         Version 2 CSE IIT, Kharagpur
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.

in the following Semantic net:




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.




Special procedures are needed to process these nodes, but without this distinction the
analysis would be very limited.




                                                            Version 2 CSE IIT, Kharagpur
Extending Semantic Nets
Here we will consider some extensions to Semantic nets that overcome a few problems or
extend their expression of knowledge.


Partitioned Networks Partitioned Semantic Networks allow for:

   •   propositions to be made without commitment to truth.
   •   expressions to be quantified.

Basic idea: Break network into spaces which consist of groups of nodes and arcs and
regard each space as a node.

Consider the following: Andrew believes that the earth is flat. We can encode the
proposition the earth is flat in a space and within it have nodes and arcs the represent the
fact (next figure). We can the have nodes and arcs to link this space the the rest of the
network to represent Andrew's belief.




                                                            Version 2 CSE IIT, Kharagpur
Now consider the quantified expression: Every parent loves their child To represent this
we:

   •   Create a general statement, GS, special class.
   •   Make node g an instance of GS.
   •   Every element will have at least 2 attributes:
          o a form that states which relation is being asserted.
          o one or more forall ( ) or exists ( ) connections -- these represent
              universally quantifiable variables in such statements e.g. x, y in
               parent(x)       : child(y) loves(x,y)

Here we have to construct two spaces one for each x,y. NOTE: We can express
variables as existentially qualified variables and express the event of love having an agent
p and receiver b for every parent p which could simplify the network.

Also If we change the sentence to Every parent loves child then the node of the object
being acted on (the child) lies outside the form of the general statement. Thus it is not
viewed as an existentially qualified variable whose value may depend on the agent. So
we could construct a partitioned network as in the next figure.




                                                            Version 2 CSE IIT, Kharagpur

More Related Content

What's hot

17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based systemTianlu Wang
 
Artificial intelligence cs607 handouts lecture 11 - 45
Artificial intelligence   cs607 handouts lecture 11 - 45Artificial intelligence   cs607 handouts lecture 11 - 45
Artificial intelligence cs607 handouts lecture 11 - 45Sattar kayani
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?Anant Soft Computing
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoningMaryam Maleki
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesKhushali Kathiriya
 
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
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionArtificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionThe Integral Worm
 
Reasoning Over Knowledge Base
Reasoning Over Knowledge BaseReasoning Over Knowledge Base
Reasoning Over Knowledge BaseShubham Agarwal
 
Barzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationBarzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationRichard Littauer
 
Object Oriented Approach Within Siebel Boundaries
Object Oriented Approach Within Siebel BoundariesObject Oriented Approach Within Siebel Boundaries
Object Oriented Approach Within Siebel BoundariesRoman Agaev
 
4213ijaia04
4213ijaia044213ijaia04
4213ijaia04ijaia
 
Neural Network in Knowledge Bases
Neural Network in Knowledge BasesNeural Network in Knowledge Bases
Neural Network in Knowledge BasesKushal Arora
 
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary StudyOn the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study Andre Freitas
 

What's hot (20)

17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
Artificial intelligence cs607 handouts lecture 11 - 45
Artificial intelligence   cs607 handouts lecture 11 - 45Artificial intelligence   cs607 handouts lecture 11 - 45
Artificial intelligence cs607 handouts lecture 11 - 45
 
Unit 2(knowledge)
Unit 2(knowledge)Unit 2(knowledge)
Unit 2(knowledge)
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoning
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issues
 
Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
 
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
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Artificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge AcquisitionArtificial Intelligence: Knowledge Acquisition
Artificial Intelligence: Knowledge Acquisition
 
Reasoning Over Knowledge Base
Reasoning Over Knowledge BaseReasoning Over Knowledge Base
Reasoning Over Knowledge Base
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Barzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationBarzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentation
 
Object Oriented Approach Within Siebel Boundaries
Object Oriented Approach Within Siebel BoundariesObject Oriented Approach Within Siebel Boundaries
Object Oriented Approach Within Siebel Boundaries
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
4213ijaia04
4213ijaia044213ijaia04
4213ijaia04
 
Neural Network in Knowledge Bases
Neural Network in Knowledge BasesNeural Network in Knowledge Bases
Neural Network in Knowledge Bases
 
Nn kb
Nn kbNn kb
Nn kb
 
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary StudyOn the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
On the Semantic Mapping of Schema-agnostic Queries: A Preliminary Study
 

Viewers also liked

Viewers also liked (15)

Lesson 18
Lesson 18Lesson 18
Lesson 18
 
Lesson 22
Lesson 22Lesson 22
Lesson 22
 
Lesson 21
Lesson 21Lesson 21
Lesson 21
 
Lesson 28
Lesson 28Lesson 28
Lesson 28
 
Lesson 25
Lesson 25Lesson 25
Lesson 25
 
Lesson 23
Lesson 23Lesson 23
Lesson 23
 
Lesson 24
Lesson 24Lesson 24
Lesson 24
 
Lesson 20
Lesson 20Lesson 20
Lesson 20
 
Basic rules for correct riding bike
Basic rules for correct riding bikeBasic rules for correct riding bike
Basic rules for correct riding bike
 
1.[1 9]a genetic algorithm based elucidation for improving intrusion detectio...
1.[1 9]a genetic algorithm based elucidation for improving intrusion detectio...1.[1 9]a genetic algorithm based elucidation for improving intrusion detectio...
1.[1 9]a genetic algorithm based elucidation for improving intrusion detectio...
 
Lesson 37
Lesson 37Lesson 37
Lesson 37
 
Eni In 2008
Eni In 2008Eni In 2008
Eni In 2008
 
Matlab files
Matlab filesMatlab files
Matlab files
 
John Caveney_Portfolio
John Caveney_PortfolioJohn Caveney_Portfolio
John Caveney_Portfolio
 
Matlab Text Files
Matlab Text FilesMatlab Text Files
Matlab Text Files
 

Similar to Module 8: Represent Knowledge Using Semantic Nets & Frames

artificial intelligence that covers frames
artificial intelligence that covers framesartificial intelligence that covers frames
artificial intelligence that covers framespicnew83
 
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
 
KNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.pptKNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.pptSuneethaChittineni
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxsuchita74
 
Semantic net in AI
Semantic net in AISemantic net in AI
Semantic net in AIShahDhruv21
 
Knowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxKnowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxSandeepGupta229023
 
09- Syed Rehan-ai-ppt2.pptx
09- Syed Rehan-ai-ppt2.pptx09- Syed Rehan-ai-ppt2.pptx
09- Syed Rehan-ai-ppt2.pptxNandhiniV68
 
Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1iotest
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxnilesh405711
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.pptbutest
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkshesnasuneer
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkshesnasuneer
 
Weak Slot and Filler Structures
Weak Slot and Filler StructuresWeak Slot and Filler Structures
Weak Slot and Filler StructuresKushalParikh14
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008Jason Morris
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptxXanGwaps
 
Adaptive named entity recognition for social network analysis and domain onto...
Adaptive named entity recognition for social network analysis and domain onto...Adaptive named entity recognition for social network analysis and domain onto...
Adaptive named entity recognition for social network analysis and domain onto...Cuong Tran Van
 
Training machine learning deep learning 2017
Training machine learning deep learning 2017Training machine learning deep learning 2017
Training machine learning deep learning 2017Iwan Sofana
 

Similar to Module 8: Represent Knowledge Using Semantic Nets & Frames (20)

artificial intelligence that covers frames
artificial intelligence that covers framesartificial intelligence that covers frames
artificial intelligence that covers frames
 
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)
 
KNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.pptKNOWLEDGE REPRESENTATION ISSUES.ppt
KNOWLEDGE REPRESENTATION ISSUES.ppt
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptx
 
Semantic net in AI
Semantic net in AISemantic net in AI
Semantic net in AI
 
Knowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxKnowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptx
 
09- Syed Rehan-ai-ppt2.pptx
09- Syed Rehan-ai-ppt2.pptx09- Syed Rehan-ai-ppt2.pptx
09- Syed Rehan-ai-ppt2.pptx
 
Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptx
 
6 KBS_ES.ppt
6 KBS_ES.ppt6 KBS_ES.ppt
6 KBS_ES.ppt
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.ppt
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
 
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkkOBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
OBJECTRECOGNITION1.pptxjjjkkkkjjjjkkkkkkk
 
Weak Slot and Filler Structures
Weak Slot and Filler StructuresWeak Slot and Filler Structures
Weak Slot and Filler Structures
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
 
uploadscribd2.pptx
uploadscribd2.pptxuploadscribd2.pptx
uploadscribd2.pptx
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008
 
Chapter-OBDD.pptx
Chapter-OBDD.pptxChapter-OBDD.pptx
Chapter-OBDD.pptx
 
Adaptive named entity recognition for social network analysis and domain onto...
Adaptive named entity recognition for social network analysis and domain onto...Adaptive named entity recognition for social network analysis and domain onto...
Adaptive named entity recognition for social network analysis and domain onto...
 
Training machine learning deep learning 2017
Training machine learning deep learning 2017Training machine learning deep learning 2017
Training machine learning deep learning 2017
 

More from Avijit Kumar (13)

Lesson 26
Lesson 26Lesson 26
Lesson 26
 
Lesson 27
Lesson 27Lesson 27
Lesson 27
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
 
Lesson 30
Lesson 30Lesson 30
Lesson 30
 
Lesson 31
Lesson 31Lesson 31
Lesson 31
 
Lesson 32
Lesson 32Lesson 32
Lesson 32
 
Lesson 33
Lesson 33Lesson 33
Lesson 33
 
Lesson 36
Lesson 36Lesson 36
Lesson 36
 
Lesson 35
Lesson 35Lesson 35
Lesson 35
 
Lesson 39
Lesson 39Lesson 39
Lesson 39
 
Lesson 38
Lesson 38Lesson 38
Lesson 38
 
Lesson 41
Lesson 41Lesson 41
Lesson 41
 
Lesson 40
Lesson 40Lesson 40
Lesson 40
 

Recently uploaded

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 

Recently uploaded (20)

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 

Module 8: Represent Knowledge Using Semantic Nets & Frames

  • 1. Module 8 Other representation formalisms Version 2 CSE IIT, Kharagpur
  • 2. 8.1 Instructional Objective • The students should understand the syntax and semantic of semantic networks • Students should learn about different constructs and relations supported by semantic networks • Students should be able to design semantic nets to represent real life problems • The student should be familiar with reasoning techniques in semantic nets • Students should be familiar with syntax and semantic of frames • Students should be able to obtain frame representation of a real life problem • Inferencing mechanism in frames should be understood. At the end of this lesson the student should be able to do the following: • Represent a real life problem in terms of semantic networks and frames • Apply inferencing mechanism on this knowledge-base. Version 2 CSE IIT, Kharagpur
  • 3. Lesson 19 Semantic nets Version 2 CSE IIT, Kharagpur
  • 4. 8. 2 Knowledge Representation Formalisms Some of the abstract knowledge representation mechanisms are the following: Simple relational knowledge The simplest way of storing facts is to use a relational method where each fact about a set of objects is set out systematically in columns. This representation gives little opportunity for inference, but it can be used as the knowledge basis for inference engines. • Simple way to store facts. • Each fact about a set of objects is set out systematically in columns. • Little opportunity for inference. • Knowledge basis for inference engines. We can ask things like: • Who is dead? • Who plays Jazz/Trumpet etc.? This sort of representation is popular in database systems. Inheritable knowledge Relational knowledge is made up of objects consisting of • attributes • corresponding associated values. We extend the base more by allowing inference mechanisms: • Property inheritance o elements inherit values from being members of a class. o data must be organised into a hierarchy of classes. Version 2 CSE IIT, Kharagpur
  • 5. Boxed nodes -- objects and values of attributes of objects. • Values can be objects with attributes and so on. • Arrows -- point from object to its value. • This structure is known as a slot and filler structure, semantic network or a collection of frames. The algorithm to retrieve a value for an attribute of an instance object: 1. Find the object in the knowledge base 2. If there is a value for the attribute report it 3. Otherwise look for a value of instance if none fail 4. Otherwise go to that node and find a value for the attribute and then report it 5. Otherwise search through using isa until a value is found for the attribute. Inferential Knowledge Represent knowledge as formal logic: All dogs have tails : dog(x) hasatail(x) Advantages: • A set of strict rules. o Can be used to derive more facts. o Truths of new statements can be verified. o Guaranteed correctness. • Many inference procedures available to in implement standard rules of logic. • Popular in AI systems. e.g Automated theorem proving. Version 2 CSE IIT, Kharagpur
  • 6. Procedural knowledge Basic idea: • Knowledge encoded in some procedures o small programs that know how to do specific things, how to proceed. o e.g a parser in a natural language understander has the knowledge that a noun phrase may contain articles, adjectives and nouns. It is represented by calls to routines that know how to process articles, adjectives and nouns. Advantages: • Heuristic or domain specific knowledge can be represented. • Extended logical inferences, such as default reasoning facilitated. • Side effects of actions may be modelled. Some rules may become false in time. Keeping track of this in large systems may be tricky. Disadvantages: • Completeness -- not all cases may be represented. • Consistency -- not all deductions may be correct. e.g If we know that Fred is a bird we might deduce that Fred can fly. Later we might discover that Fred is an emu. • Modularity is sacrificed. Changes in knowledge base might have far-reaching effects. • Cumbersome control information. The following properties should be possessed by a knowledge representation system. Representational Adequacy -- the ability to represent the required knowledge; Inferential Adequacy - the ability to manipulate the knowledge represented to produce new knowledge corresponding to that inferred from the original; Inferential Efficiency - the ability to direct the inferential mechanisms into the most productive directions by storing appropriate guides; Acquisitional Efficiency - the ability to acquire new knowledge using automatic methods wherever possible rather than reliance on human intervention. To date no single system optimises all of the above. We will discuss in this module two formalisms, namely, semantic networks and frames, which trades off representational adequacy for inferential and acquisitional efficiency. Version 2 CSE IIT, Kharagpur
  • 7. 5.3 Semantic Networks A semantic network is often used as a form of knowledge representation. It is a directed graph consisting of vertices which represent concepts and edges which represent semantic relations between the concepts. The following semantic relations are commonly represented in a semantic net. Meronymy (A is part of B) Holonymy (B has A as a part of itself) Hyponymy (or troponymy) (A is subordinate of B; A is kind of B) Hypernymy (A is superordinate of B) Synonymy (A denotes the same as B) Antonymy (A denotes the opposite of B) Example The physical attributes of a person can be represented as in the following figure using a semantic net. These values can also be represented in logic as: isa(person, mammal), instance(Mike- Hall, person) team(Mike-Hall, Cardiff) We know that conventional predicates such as lecturer(dave) can be written as instance (dave, lecturer) Recall that isa and instance represent inheritance and are popular in many knowledge representation schemes. But we have a problem: How we can have more than 2 place predicates in semantic nets? E.g. score(Cardiff, Llanelli, 23-6) Solution: • Create new nodes to represent new objects either contained or alluded to in the knowledge, game and fixture in the current example. • Relate information to nodes and fill up slots. Version 2 CSE IIT, Kharagpur
  • 8. As a more complex example consider the sentence: John gave Mary the book. Here we have several aspects of an event. 5.3.1 Inference in a Semantic Net Basic inference mechanism: follow links between nodes. Two methods to do this: 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. Many advantages including entity-based organisation and fast parallel implementation. However very structured questions need highly structured networks. Version 2 CSE IIT, Kharagpur
  • 9. 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. in the following Semantic net: 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. Special procedures are needed to process these nodes, but without this distinction the analysis would be very limited. Version 2 CSE IIT, Kharagpur
  • 10. Extending Semantic Nets Here we will consider some extensions to Semantic nets that overcome a few problems or extend their expression of knowledge. Partitioned Networks Partitioned Semantic Networks allow for: • propositions to be made without commitment to truth. • expressions to be quantified. Basic idea: Break network into spaces which consist of groups of nodes and arcs and regard each space as a node. Consider the following: Andrew believes that the earth is flat. We can encode the proposition the earth is flat in a space and within it have nodes and arcs the represent the fact (next figure). We can the have nodes and arcs to link this space the the rest of the network to represent Andrew's belief. Version 2 CSE IIT, Kharagpur
  • 11. Now consider the quantified expression: Every parent loves their child To represent this we: • Create a general statement, GS, special class. • Make node g an instance of GS. • Every element will have at least 2 attributes: o a form that states which relation is being asserted. o one or more forall ( ) or exists ( ) connections -- these represent universally quantifiable variables in such statements e.g. x, y in parent(x) : child(y) loves(x,y) Here we have to construct two spaces one for each x,y. NOTE: We can express variables as existentially qualified variables and express the event of love having an agent p and receiver b for every parent p which could simplify the network. Also If we change the sentence to Every parent loves child then the node of the object being acted on (the child) lies outside the form of the general statement. Thus it is not viewed as an existentially qualified variable whose value may depend on the agent. So we could construct a partitioned network as in the next figure. Version 2 CSE IIT, Kharagpur