
integration. The entities as well as the key attributes may
need to be renamed. Conversion may be required so that
concepts that are modeled as entities, attributes, or
relationships are conformed to be only one of them.
Relationships with equal degree, roles, and connectivity
constraints are easy to merge. Those with differing
characteristics are more difficult and, in some cases, impos-
sible to merge. In addition, relationships that are not consis-
tent—for example, a relationship using generalization in
one place and the exclusive-OR in another—must be
resolved. Finally, assertions may need to be modified so that
integrity constraints are consistent.
Techniques used for view integration include abstraction,
such as generalization and aggregation, to create new super-
types or subtypes, or even the
introduction of new
relationships. As an example, the
generalization of Individual over
different values of the descriptor
attribute job-title could represent
the consolidation of two views of
the database—one based on an
individual as the basic unit of per-
sonnel in the organization, and
another based on the classifi-
cation of individuals by job titles
and special characteristics within
those classifications.
For the example in
Figure 4.5,
the resolution of the conflicts is
shown in Figure 4.6. For the
synonyms Topic-area in schema
1 and Keyword in schema 2, we
find that the attributes, while hav-
ing different names, are compati-
ble and can be consolidated. This
is shown in Figure 4.6(a),
which presents a revised schema,
schema 2.1. In schema 2.1,
Keyword has been replaced by
Topic-area. The type conflict
between the entity Department
(a)
(b)
Publication
Department
1
N
NN
Publication
title
title
code
research-area
code
contains Topic-area
contains
Topic-area
N
N
title
code
dept-name
dept-name
has
title
code
research-area
Figure 4.6 View integration: type conflict: (a) schema 2.1, in
which Keyword has been replaced by Topic-area and (b)
schema 2.2, in which the attribute dept-name has been
changed to an attribute and an entity.
72 Chapter 4 REQUIREMENTS ANALYSIS AND CONCEPTUAL DATA MODELING