---
title: "Semantic nets with example"
subject: "Artificial Intelligence"
chapter: 5
key: "semester_6/artificial_intelligence:semantic-net-with-example"
source: https://www.bctengineer.com/q/semester_6/artificial_intelligence/semantic-net-with-example
site: BCT Engineering
---

# Semantic nets with example

Artificial Intelligence · Chapter 5: Structured Knowledge Representation

- Asked in: 2070 Bhadra, 8 marks; 2070 Magh, 7 marks; 2071 Bhadra, 7 marks (asked 3 times)
- Video: [L70: Semantic Networks in Artificial Intelligence | Components, Example | AI Lectures in Hindi](https://www.youtube.com/watch?v=1jyLrS6U3hA) — Easy Engineering Classes
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_6/artificial_intelligence/semantic-net-with-example
- Whole chapter: https://www.bctengineer.com/md/semester_6/artificial_intelligence/chapter-5

## Question

What is a semantic net? Explain how knowledge can be represented using a semantic network with a suitable example.

## Short answer

A semantic net is a graph with nodes for objects/concepts and labelled arcs for relationships, supporting inheritance along 'is-a' links. Example: Tom is a cat; cat is a mammal, so Tom inherits fur and eats fish.

## Answer

A **semantic net (semantic network)** is a graph-based knowledge representation scheme. **Nodes** represent objects, concepts or values, and labelled **arcs (links)** represent relationships between them. It was introduced by Quillian and is described in Rich & Knight.

#### Main features
- Nodes: objects (Ram), classes (Person, Mammal), property values (Red).
- Arcs: `is-a` (class–subclass), `instance-of` (member–class), `has-part`, `color`, `team`, and so on.
- **Property inheritance:** a node inherits the attributes of its super-classes through `is-a` / `instance` links.
- Knowledge is organised around objects, so related facts can be found by following links.

#### Example
Facts: Tom is a cat. A cat is a mammal. A mammal is an animal. A mammal has fur. Tom's colour is black. A cat eats fish. An animal can breathe.

```text
 [Animal] --can--> [Breathe]
    ^
    | is-a
 [Mammal] --has--> [Fur]
    ^
    | is-a
  [Cat] --eats--> [Fish]
    ^
    | instance-of
  [Tom] --colour--> [Black]
```

#### Inference using the net
- *Does Tom have fur?* Tom → instance-of Cat → is-a Mammal → has Fur. Yes (inherited).
- *Can Tom breathe?* Follow is-a up to Animal. Yes.
- *What does Tom eat?* Inherited from Cat: fish.

#### Equivalent logic
instance(Tom, Cat), isa(Cat, Mammal), isa(Mammal, Animal), ∀x instance(x,Cat) → eats(x,Fish).

#### Advantages
- Simple, visual and easy to understand.
- Inheritance saves storage and gives fast retrieval.
- Natural for hierarchical (taxonomic) knowledge.

#### Limitations
- No standard semantics for links; meaning depends on the designer.
- Hard to represent negation, disjunction, quantifiers ("all", "some").
- Exceptions (a penguin is a bird that cannot fly) need special handling.
- The net becomes large and cluttered for big domains.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. In a semantic net, what do nodes and arcs represent?
   A. Nodes are rules; arcs are facts
   B. Nodes are objects, concepts or values; labelled arcs are relationships
   C. Nodes are slots; arcs are procedures
   D. Nodes are probabilities; arcs are weights
   Answer: B. A semantic net is a graph with nodes for entities and labelled arcs for relations such as is-a. (Key point: Structure)

2. Why can the net conclude Tom has fur?
   A. Tom has a direct 'has' arc to Fur
   B. Fur is an instance of Tom
   C. Tom is an instance of Cat, Cat is-a Mammal, and Mammal has Fur (inherited)
   D. Because Tom's colour is black
   Answer: C. Properties are inherited by following instance-of and is-a links upward. (Key point: Inheritance)

3. Which is a limitation of semantic nets?
   A. They find negation, quantifiers and exceptions hard to represent
   B. They cannot show hierarchies
   C. They cannot support inheritance
   D. They need procedures attached to every node
   Answer: A. No standard link semantics, and exceptions like a penguin that cannot fly need special handling. (Key point: Limitation)

## Related in Artificial Intelligence

- [KR models; semantic nets](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Akr-models-semantic-nets) — Artificial Intelligence, chapter 5
- [Frames and semantic nets importance](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Aframes-and-semantic-nets-examples) — Artificial Intelligence, chapter 5, asked 3×
- [Frame vs semantic net](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Aframe-vs-semantic-net) — Artificial Intelligence, chapter 5
- [Frames, semantic net; sakti gauchan](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Aframes-semantic-net-convert-sentences) — Artificial Intelligence, chapter 5
- [Semantic network: baseball player](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Asemantic-network-baseball-pee-wee) — Artificial Intelligence, chapter 5
- [Causal net, belief network, Bayes](https://www.bctengineer.com/question.md?key=semester_6%2Fartificial_intelligence%3Acausal-net-belief-network) — Artificial Intelligence, chapter 4, asked 2×
