SlideShare a Scribd company logo
Knowledge Representation
Lalita Kumari
Associate Professor
ASET
Amity University, Patna
Type of Knowledge Structure
• Weak Slot - Filler Structure
–Semantic Nets
–Frame
•Strong Slot - Filler Structure
–Scripts
–Conceptual Dependency
3
Semantic Networks
• Structured representations (semantic networks and frame
systems)
– Put structures into KB (capture the interrelations between
pieces of knowledge
– Centers around object/classes
– Emphasis is on what it is than what to do
• History of semantic networks (Quillian, 1968)
– To represent semantics of natural language words by
dictionary-like definitions in a graphic form
– Defining the meaning of a word in terms of its relations with
other words (associations between terms)
– Semantic networks were very popular in the 60’s and 70’s
– The graphical depiction associated with a semantic network
is a big reason for their popularity.
– Also called associative networks
Semantic Nets
•Semantic network or a semantic net is a structure for representing
knowledge as a pattern of interconnected nodes and arcs.
•It is also representation of knowledge.
•Node in the semantic net represent either
–Entities,
–Attributes,
–State or Events.
•Arcs in the net give the relationship between the nodes.
•Labels on the arc specify what type of relationship actually exits.
5
Nodes and Arcs
• Nodes denote objects/classes
• arcs define binary relationships between objects.
john 5
Sue
age
mother
mother(john,sue)
age(john,5)
wife(sue,max)
age(sue,34)
...
34
age
father
Max
wife
husband
age
6
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.
• Conflict or inconsistent properties can be inherited from
different ancestors
• Rules are used to determine inheritance in such "tangled"
networks where multiple inheritance is allowed:
– if X  A  B and both A and B have property P (possibly with different variable
instantiations), then X inherits A’s property P instance (closer ancestors override
far away ones).
– If X  A and X  B but neither A  B nor B  A and both A and B have
property P with different and inconsistent values, then X will not inherit
property P at all; or X will present both instances of P (from A and B) to the user
7
Exceptions in ISA hierarchy
• Properties of a class are often default in nature (there are
exceptions to these associations for some subclasses/instances)
• Closer ancestors (more
specific) overriding far
way ones (more general)
• Use explicit inhibition
links to prevent inheriting
some properties
isa
isa
Bob
Human
Mammal
isa
isa
Tweedy
penguin
bird
2
has-legs
4
has-legs
Fly
can-do
Inhibition link
Example: Semantic networks…
•“A sparrow is a bird”
–Two concepts: “sparrow” and “bird”
– sparrow is a kind of bird, so connect the two
concepts with a IS-A relation
This is an higher-lower relation or abstract-
concrete relation
• Bird
Knowledge Representation : Semantic Networks
Knowledge Representation : Semantic Networks
•Tweety and Sweety are birds
•Tweety has a red beak
•Sweety is Tweety‟s child
•A crow is a bird
•Birds can fly
•Sparrow is a bird.
•Sparrow has a wing.
Knowledge Representation : Semantic Networks
Example: Semantic Networks..
• Scooter is a two wheeler.
•Motor-bike is a two wheeler.
•Motor-bike is a moving-vehicle.
•Moving –vehicle has engine.
•Moving-vehicle has electrical system.
•Moving-vehicle has fuel system
Knowledge Representation : Semantic Networks
Knowledge Representation : Semantic Networks
Knowledge Representation : Semantic Networks
Knowledge Representation : Semantic Networks
Knowledge Representation : Semantic Networks
Represent following information in
Semantic net
•(is_a circus-elephant elephant)
•(has elephant head)
•(has elephant trunk)
•(has head mouth)
•(is_a elephant animal)
•(has animal heart)
•(is_a circus-elephant performer)
•(has performer costumes)
Knowledge Representation : Semantic Networks
Partitioned Semantic Networks
• Hendrix developed the so-called partitioned semantic
network to represent the difference between the
description of an individual object or process and the
description of a set of objects. The set description
involves quantification.
•Hendrix partitioned a semantic network whereby a
semantic network, loosely speaking, can be divided into
one or more networks for the description of an individual.
Partitioned Semantic Networks
• The central idea of partitioning is to allow groups, nodes and
arcs to be bundled together into units called spaces –
fundamental entities in partitioned networks, on the same
level as nodes and arcs (Hendrix).
• Every node and every arc of a network belongs to (or lies
in/on) one or more spaces.
• Some spaces are used to encode 'background information'
or generic relations; others are used to deal with specifics
called 'scratch' space.
• Suppose that we wish to make a specific statement about a dog, Danny,
who has bitten a postman, Peter:
• –" Danny the dog bit Peter the postman“
• Hendrix’s Partitioned network would express this statement as an ordinary
semantic network:
• Suppose that we now want to look at the statement:
• – "Every dog has bitten a postman"
• Hendrix partitioned semantic network now comprises two partitions SA and
S1. Node G is an instance of the special class of general statements about the
world comprising link statement, form, and one universal quantifier
Advantages of semantic networks
• –Simple representation, easy to read
• –Associations possible
• –Inheritance possible
Disadvantages of semantic networks
• –A separate inference procedure (interpreter) must
be build
• –The validity of the inferences is not guaranteed
• –For large networks the processing is inefficient
Exercises
• Try to represent the following two sentences
into the appropriate semantic network
diagram:
• –"John believes that pizza is tasty"
• –"Every student loves to party“
• –John gave Mary the book

More Related Content

Similar to Knowledge Representation : Semantic Networks (20)

PDF
Lesson 19
Avijit Kumar
 
PDF
AI Lesson 19
Assistant Professor
 
PPT
Representation of knowledge
Veera Balaji kumar veeraswamy
 
PPTX
Mdst3703 2013-09-10-textual-signals
Rafael Alvarado
 
PPTX
Mdst3705 2013-02-05-databases
Rafael Alvarado
 
PDF
Ch 7 Knowledge Representation.pdf
KrishnaMadala1
 
PDF
Semantic relations: new (terminological) challenges in a world of Linked Data
Nathalie Aussenac-Gilles
 
PDF
Introduction to SKOS - Simple Knowledge Organization System
Fulvio Corno
 
PPTX
Teaching LMMs for Image Quality Scoring and Interpreting
sknps0451
 
PDF
cross-cutting structure for semantic representation
Zahra Sadeghi
 
PPTX
Semantic Networks
Jenny Galino
 
PDF
Vivo ontology overviewanddirections.2013-04-25
joncr
 
PPTX
semantic frames scripts artificial intelligence
redajaj605
 
PPTX
Structured Knowledge Representation
Sagacious IT Solution
 
PPTX
Semantic net in AI
ShahDhruv21
 
PPT
Ontology engineering: Ontology alignment
Guus Schreiber
 
PPT
Knowledge_Representbhhggghhhhhhhtrrghjuuuuation.ppt
SupriyoRoy41
 
PPT
KnowledgeRepresentation in artificial intelligence.ppt
ratnababum
 
Lesson 19
Avijit Kumar
 
AI Lesson 19
Assistant Professor
 
Representation of knowledge
Veera Balaji kumar veeraswamy
 
Mdst3703 2013-09-10-textual-signals
Rafael Alvarado
 
Mdst3705 2013-02-05-databases
Rafael Alvarado
 
Ch 7 Knowledge Representation.pdf
KrishnaMadala1
 
Semantic relations: new (terminological) challenges in a world of Linked Data
Nathalie Aussenac-Gilles
 
Introduction to SKOS - Simple Knowledge Organization System
Fulvio Corno
 
Teaching LMMs for Image Quality Scoring and Interpreting
sknps0451
 
cross-cutting structure for semantic representation
Zahra Sadeghi
 
Semantic Networks
Jenny Galino
 
Vivo ontology overviewanddirections.2013-04-25
joncr
 
semantic frames scripts artificial intelligence
redajaj605
 
Structured Knowledge Representation
Sagacious IT Solution
 
Semantic net in AI
ShahDhruv21
 
Ontology engineering: Ontology alignment
Guus Schreiber
 
Knowledge_Representbhhggghhhhhhhtrrghjuuuuation.ppt
SupriyoRoy41
 
KnowledgeRepresentation in artificial intelligence.ppt
ratnababum
 

Recently uploaded (20)

PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
Bachelor of information technology syll
SudarsanAssistantPro
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PDF
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
PPTX
Distribution reservoir and service storage pptx
dhanashree78
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
darshai cross section and river section analysis
muk7971
 
PPTX
原版一样(EC Lille毕业证书)法国里尔中央理工学院毕业证补办
Taqyea
 
PPTX
仿制LethbridgeOffer加拿大莱斯桥大学毕业证范本,Lethbridge成绩单
Taqyea
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
PDF
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Bachelor of information technology syll
SudarsanAssistantPro
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
Distribution reservoir and service storage pptx
dhanashree78
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
darshai cross section and river section analysis
muk7971
 
原版一样(EC Lille毕业证书)法国里尔中央理工学院毕业证补办
Taqyea
 
仿制LethbridgeOffer加拿大莱斯桥大学毕业证范本,Lethbridge成绩单
Taqyea
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Ad

Knowledge Representation : Semantic Networks

  • 1. Knowledge Representation Lalita Kumari Associate Professor ASET Amity University, Patna
  • 2. Type of Knowledge Structure • Weak Slot - Filler Structure –Semantic Nets –Frame •Strong Slot - Filler Structure –Scripts –Conceptual Dependency
  • 3. 3 Semantic Networks • Structured representations (semantic networks and frame systems) – Put structures into KB (capture the interrelations between pieces of knowledge – Centers around object/classes – Emphasis is on what it is than what to do • History of semantic networks (Quillian, 1968) – To represent semantics of natural language words by dictionary-like definitions in a graphic form – Defining the meaning of a word in terms of its relations with other words (associations between terms) – Semantic networks were very popular in the 60’s and 70’s – The graphical depiction associated with a semantic network is a big reason for their popularity. – Also called associative networks
  • 4. Semantic Nets •Semantic network or a semantic net is a structure for representing knowledge as a pattern of interconnected nodes and arcs. •It is also representation of knowledge. •Node in the semantic net represent either –Entities, –Attributes, –State or Events. •Arcs in the net give the relationship between the nodes. •Labels on the arc specify what type of relationship actually exits.
  • 5. 5 Nodes and Arcs • Nodes denote objects/classes • arcs define binary relationships between objects. john 5 Sue age mother mother(john,sue) age(john,5) wife(sue,max) age(sue,34) ... 34 age father Max wife husband age
  • 6. 6 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. • Conflict or inconsistent properties can be inherited from different ancestors • Rules are used to determine inheritance in such "tangled" networks where multiple inheritance is allowed: – if X  A  B and both A and B have property P (possibly with different variable instantiations), then X inherits A’s property P instance (closer ancestors override far away ones). – If X  A and X  B but neither A  B nor B  A and both A and B have property P with different and inconsistent values, then X will not inherit property P at all; or X will present both instances of P (from A and B) to the user
  • 7. 7 Exceptions in ISA hierarchy • Properties of a class are often default in nature (there are exceptions to these associations for some subclasses/instances) • Closer ancestors (more specific) overriding far way ones (more general) • Use explicit inhibition links to prevent inheriting some properties isa isa Bob Human Mammal isa isa Tweedy penguin bird 2 has-legs 4 has-legs Fly can-do Inhibition link
  • 8. Example: Semantic networks… •“A sparrow is a bird” –Two concepts: “sparrow” and “bird” – sparrow is a kind of bird, so connect the two concepts with a IS-A relation This is an higher-lower relation or abstract- concrete relation • Bird
  • 11. •Tweety and Sweety are birds •Tweety has a red beak •Sweety is Tweety‟s child •A crow is a bird •Birds can fly •Sparrow is a bird. •Sparrow has a wing.
  • 13. Example: Semantic Networks.. • Scooter is a two wheeler. •Motor-bike is a two wheeler. •Motor-bike is a moving-vehicle. •Moving –vehicle has engine. •Moving-vehicle has electrical system. •Moving-vehicle has fuel system
  • 19. Represent following information in Semantic net •(is_a circus-elephant elephant) •(has elephant head) •(has elephant trunk) •(has head mouth) •(is_a elephant animal) •(has animal heart) •(is_a circus-elephant performer) •(has performer costumes)
  • 21. Partitioned Semantic Networks • Hendrix developed the so-called partitioned semantic network to represent the difference between the description of an individual object or process and the description of a set of objects. The set description involves quantification. •Hendrix partitioned a semantic network whereby a semantic network, loosely speaking, can be divided into one or more networks for the description of an individual.
  • 22. Partitioned Semantic Networks • The central idea of partitioning is to allow groups, nodes and arcs to be bundled together into units called spaces – fundamental entities in partitioned networks, on the same level as nodes and arcs (Hendrix). • Every node and every arc of a network belongs to (or lies in/on) one or more spaces. • Some spaces are used to encode 'background information' or generic relations; others are used to deal with specifics called 'scratch' space.
  • 23. • Suppose that we wish to make a specific statement about a dog, Danny, who has bitten a postman, Peter: • –" Danny the dog bit Peter the postman“ • Hendrix’s Partitioned network would express this statement as an ordinary semantic network:
  • 24. • Suppose that we now want to look at the statement: • – "Every dog has bitten a postman" • Hendrix partitioned semantic network now comprises two partitions SA and S1. Node G is an instance of the special class of general statements about the world comprising link statement, form, and one universal quantifier
  • 25. Advantages of semantic networks • –Simple representation, easy to read • –Associations possible • –Inheritance possible Disadvantages of semantic networks • –A separate inference procedure (interpreter) must be build • –The validity of the inferences is not guaranteed • –For large networks the processing is inefficient
  • 26. Exercises • Try to represent the following two sentences into the appropriate semantic network diagram: • –"John believes that pizza is tasty" • –"Every student loves to party“ • –John gave Mary the book