You are on page 1of 1

An Automatic Data Warehouse Conceptual Design Approach

schemes to one or more elements (entity, relation, at- F1: An n-ary relationship in the DS with numerical
tribute…) of the DS schemes. attribute with n≥2;
Our DM-DS mapping is performed in three steps: F2: An entity with at least one numerical attribute
first, it identifies from the DS schema potential facts not included in its identifier.
(PF), and matches facts in the DM schemes with identi-
fied PF. Secondly, for each mapped fact, it looks for Fact Matching
DS attributes that can be mapped to measures in the An ontology dedicated to decisional system is used to
DM schemes. Finally, for each fact that has potential find for each fact in the DM schema all correspond-
measures, it searches DS attributes that can be mapped ing potential facts. In this step, we may encounter one
to dimensional attributes in the DM schemes. problematic case: a DM fact has no corresponding PF.
A DM element may be derived from several identi- Here the designer must intervene.
fied potential elements. In addition, the same element Note that, when a DM fact has several correspond-
can be mapped to several identified potential elements. ing PF, all mappings are retained until the measures
It may also happen that a DM element is different from and dimensions are identified.
all potential elements, which might require OLAP
requirement revision. Measure Mapping
For each (Fd, PF) determined in the previous step,
Fact Mapping we identify the potential measures of PF and confront
Fact mapping aims to find for each DM fact (Fd) the them with those of Fd.
corresponding DS elements. For this, we first identify
DS elements that could represent potentiel facts (PF). Measure Identification
Then, we confront the set of Fd with all identified PF. Since measures are numerical attributes, they will be
The result of this step is a set of (Fd, PF) pairs for which searched within potential facts (PF) and “parallel”
the measures and dimensions must be confronted to entities; they will be qualified as potential measures
accept or reject the mapping (cf. validation mapping (PM). The search order is:
step).
1. A non-key numerical attribute of PF
Fact Identification 2. A non-key numerical attribute of parallel entities
Each entity of the DS verifying one of the following to PF
two rules becomes a potential fact: 3. A numerical attribute of the entities related to PF
by a “one-to-one” link first, followed by those
related to PF by a “one-to-many” link
4. Repeat step 3 for each entity found in step 3

Figure 7. Constellation schema built from the stars in Figures 5 and 6


R egion
R egion Slice
Department
City Social-Reason Age
Department
Supplier First-Name
Id City
Name
Client IdClient
Client
SHI P M E NT
Qty SA L E
A mount Qty
R evenue Product-Name
A mount Unit-Price
Y ear Quarter Day
IdProd Category
Date Product
Semester Month IdDate Sub-Category



You might also like