Professional Documents
Culture Documents
Learning Outcomes
Students are able to create data models in an organization using
advanced E-R Diagrams (Conceptual Data Modeling)
3
Topics
Supertype and subtype representation
Constraints in supertype / subtype relations
Entity Clustering
Examples of enhanced E-R modeling
4
• Subtype
• A subgrouping of the entities in an entity type that is meaningful to the organization and
that shares common attributes or relationships distinct from other subgroupings.
• Supertype
• A generic entity type that has a relationship with one or more subtypes.
• Example
• STUDENT is an entity type in a university. Two subtypes of STUDENT are GRADUATE
STUDENT and UNDERGRADUATE STUDENT. In this example, we refer to STUDENT as the
supertype
NOTATION
6
• Generalization
• The process of defining a more general entity type from a set of more specialized entity
types. Thus generalization is a bottom-up process.
• Specialization
• The process of defining one or more subtypes of the supertype and forming
Supertype/subtype relationships. Specialization is a top-down process, the direct reverse
of generalization.
• Specialization and generalization are both valuable techniques for developing
supertype/subtype relationships.
COMPLETENESS CONSTRAINTS
9
• Entity clustering (Teorey, 1999) is a useful way to present a data model for a
large and complex organization.
• An entity cluster is a set of one or more entity types and associated
relationships grouped into a single abstract entity type.
• Because an entity cluster behaves like an entity type, entity clusters and
entity types can be further grouped to form a higher-level entity cluster.
• Entity clustering is a hierarchical decomposition of a macro-level view of
the data model into finer and finer views, eventually resulting in the full,
detailed data model
• Examples of entity
18
Reference