- 2074 Bhadra · 7 marks
Frame vs semantic net
Short answer
A frame is a record-like structure with slots, defaults, constraints, and attached procedures, organized in is-a hierarchy. A semantic net is a pure graph of nodes and arcs. Frames have internal node structure, defaults, and demons; semantic nets lack these. Both support inheritance.
What is a Frame? How is it different from semantic net in knowledge representation?
A frame is a structured representation of an object or situation: a named collection of slots, each with a value, default, restriction or attached procedure, arranged in an is-a / instance-of hierarchy with inheritance (Minsky).
Example:
Frame: Car Frame: MyCar
is-a: Vehicle instance-of: Car
wheels: 4 (default) colour: Red
fuel: [petrol or diesel] owner: Hari
mileage: [if-needed: km / litres]
A semantic net is a graph of nodes and labelled arcs, e.g. MyCar --instance--> Car --is-a--> Vehicle, MyCar --colour--> Red.
Difference between frames and semantic nets
| Point | Frame | Semantic net |
|---|---|---|
| Structure | Record-like: object with slots and fillers | Graph: nodes joined by labelled arcs |
| Node content | Node has internal structure (slots, facets) | Node is just a label |
| Defaults | Explicit default values for slots | No built-in defaults |
| Procedures | Attached procedures (if-needed, if-added demons) | None; purely declarative |
| Constraints | Type and range restrictions on slots | Not supported directly |
| Visual form | Table-like | Diagram of links |
| Best for | Complex objects with many attributes | Simple relations and taxonomies |
| Inference | Inheritance plus procedures and expectations | Inheritance by following links |
| Complexity | Heavier to design | Simple and easy to draw |
Both support inheritance, and a frame system can be seen as a semantic net whose nodes are given internal structure.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Frames, semantic net; sakti gauchan · Artificial Intelligence, chapter 5
- KR models; semantic nets · Artificial Intelligence, chapter 5
- Semantic nets with example · Artificial Intelligence, chapter 5 · asked 3×
- Declarative vs procedural knowledge · Artificial Intelligence, chapter 4 · asked 4×
- Knowledge vs learning, acting humanly · Artificial Intelligence, chapter 1
- Knowledge, reasoning; forward chaining · Artificial Intelligence, chapter 4
- Knowledge management vs expert systems · Information System, chapter 4
- Array representation vs dynamic list · Data Structure and Algorithm, chapter 3
- Data representation; analog vs digital system · Data Communication, chapter 1
- TDM vs statistical TDM and STDM frame · Telecommunications, chapter 3 · asked 2×