0% found this document useful (0 votes)
131 views

Lecture 11

The document discusses problems that can occur with entity-relationship (E-R) models, known as connection traps. There are two main types of connection traps: 1) Fan traps, where the relationship between entity types is represented but the pathway between certain occurrences is ambiguous; and 2) Chasm traps, where a relationship between entity types is suggested but the pathway does not exist between certain occurrences. The document provides examples of fan traps and chasm traps and how to restructure E-R models to remove these traps. It also lists five perspectives to consider when checking the quality of an E-R data model: conceptual correctness, conceptual completeness, syntactic correctness, syntactic completeness, and enterprise awareness.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views

Lecture 11

The document discusses problems that can occur with entity-relationship (E-R) models, known as connection traps. There are two main types of connection traps: 1) Fan traps, where the relationship between entity types is represented but the pathway between certain occurrences is ambiguous; and 2) Chasm traps, where a relationship between entity types is suggested but the pathway does not exist between certain occurrences. The document provides examples of fan traps and chasm traps and how to restructure E-R models to remove these traps. It also lists five perspectives to consider when checking the quality of an E-R data model: conceptual correctness, conceptual completeness, syntactic correctness, syntactic completeness, and enterprise awareness.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

CSC241 Database Systems

Lecture # 11
By
Maria Gul

1
Problems with E-R Models
• In E-R model, due to misinterpretation
(misunderstanding) of the meaning of certain
relationships, a problem known as connection
traps results.
• There are mainly two types of connection traps:

1) Fan traps
2) Chasm traps

2
Problems with E-R Models
1. Fan trap
• Where a model represents a relationship
between entity types, but the pathway
between certain entity occurrences is
ambiguous.

3
Problems with E-R Models
1. Semantic Net of ER Model with Fan Trap
At which branch office does staff number SG37
work?

4
Problems with E-R Models
Restructuring ER model to remove Fan Trap

5
Problems with E-R Models
Semantic Net of Restructured ER Model with Fan Trap
Removed
SG37 works at branch B003.

6
Problems with E-R Models
2. Chasm trap
• Where a model suggests the existence of a
relationship between entity types, but the pathway
does not exist between certain entity occurrences.

7
Problems with E-R Models
Semantic Net of ER Model with Chasm Trap
At which branch office is property PA14
available?

8
Problems with E-R Models
ER Model restructured to remove Chasm Trap

9
Problems with E-R Models
Semantic Net of Restructured ER Model with
Chasm Trap Removed

10
ER Diagrams—Do’s and Dont’s
• A high-quality data model gives an impression of
the business it represents.
Five perspectives to check:
• Conceptual correctness—does it represent
the business concepts of the enterprise?
• Conceptual completeness—does it describe
the full scope of the enterprise?
• Syntactic correctness—are the symbols used
according to their definitions?
• Syntactic completeness—is the diagram fully
developed in all its details?
• Enterprise awareness—is the model natural
to the enterprise, stable and scalable?

11

You might also like