Correspondence assertions to point out the seman-
tics of views already were developed for other works
(L
´
oscio, 1998; Vidal and Pequeno, 2000; Vidal et al.,
2001; da Costa, 2002). We extend the work of (Vidal
and Pequeno, 2000) to contemplate relational struc-
tures and aggregation functions. In (da Costa, 2002)
the CAs are used to assert the correspondence among
the view schema and the local sources schemas,
where these local sources schemas can be relational
or object-relational ones (like in our work). However,
to best of our knowledge, our paper is the first one to
specify CAs in O
bject-Relational(OR)data warehous-
ing environment, and to consider CAs between prop-
erties with aggregations functions.
The remainder of this paper is organized as fol-
lows. The next Section presents our formal model
1
.
Section 3 presents the formalism we use to assert the
relationship between the integrated view schema and
the source database schemas. Section 4 shows as CA
can be used to define the integrated view. Section 5
is devoted to present some previous approaches and
contrast them with ours. Finally, Section 6 concludes,
pointing out future work.
2 TERMINOLOGY
In this section, we present the basic concepts of the
object model used to represent the integrated view
schema and the source database schemas. This model
was based in O
bject-Oriented Data Model (OODM)
standard ODMG3 (Cattell et al., 2000), but we tried
to preserve the main characteristics of Relational Data
M
odel (RDM) proposed by Codd in (Codd, 1970).
In accordance with the object model described in
ODMG3, we distinguish objects from literals as fol-
lows: objects represent real world entities and have
a unique identifier (OID), while literals are special
types of objects that have no identifier.
An object is an instance of a type. Thus, types serve
as templates for their instances. In our model we de-
fine some types, namelly: base (integer, float, string
and boolean), reference, tuple and collections (set, list
and array). The tuple type is an important type be-
cause it can represent the relation schema in RDMs.
The component of the type tuple consists of pro-
perties, which can be classified into attributes and
relationships. The domain of an attribute is a lit-
eral or a collection of literals. On the other hand,
the domain of a relationship is an object or a collec-
tion of objects. Properties also can be classified into
singlevalued and multivalued. A property is denoted
singlevalued when each instance of its type can be
1
Only basic concepts are showed. For more details the
reader can refer to (Pequeno and Apar
´
ıcio, 2003).
related to at most one object (or literal) of the prop-
erty domain. A property is denoted multivalued when
each instance of its type can be associated to many
instances of the property domain. We consider the
properties whose types are base, reference or tuple
as singlevalued properties and the properties whose
types are collections (set, list or array) as multivalued
properties.
We distinguish types from classes. A class is a
set of objects that is associated with a type. We
distinguish two kinds of classes: the object classes,
whose instances of the type are objects; and the lit-
eral classes, whose instances of the type are literals.
It is common to present classes in diagrams
2
. In
Figure 1, the classes EMPLOYEE, DIVISION, MANA-
GER and GOOD are represent as rectangles. The at-
tributes with their types are inside the rectangles. Sin-
gle arrows represent single valued relationships and
double arrows represent multi valued relationships.
DIVISION
divName
1
: string
shortForm
1
: string (K)
div
1
emp
1
mger
1
div
1
DB
1
EMPLOYEE
employeeName
1
:string
telephone
1
: {string}
identity
1
: integer (K)
salary
1
:float
addSalary
1
GOOD
number
1
: integer (k)
goodName
1
: string
sentPrice
1
: float
MANAGER
managerName
1
: string
identity
1
: integer (k)
Figure 1: An object-relational schema.
An OR schema is a set of class definitions that serve
as templates to generate the application domain ob-
jects. It is important to note that an OR schema can
be only a relational schema or an OR schema.
All classes in an OR schema have a distinct name, a
structured type, a finite set of signatures (the methods)
and an extension. The latter consists of a set of objects
that are members of a class at a given moment. An
instance of an OR schema S populates object classes
with OIDs, assigns values to the OIDs, assigns values
to literal class names, and assigns semantics to the
methods signatures.
Objects can be related through paths connecting
two or more properties. From Figure 1, one can ob-
serve that an employee is related to his/her division
manager through a path div
1
• mger
1
. We distinguish
2
The graphic notation is based on U
nified Modeling
L
anguage(UML) and ODMG3.
ICEIS 2005 - DATABASES AND INFORMATION SYSTEMS INTEGRATION
220