FORMAL METHOD FOR AUTOMATIC AND SEMANTIC MAPPING
OF DISTRIBUTED SERVICE-ONTOLOGIES
Nacima Mellal and Richard Dapoiny
LISTIC/ Polytech’Savoie, universit de Savoie, P.B. 80439, 74944, Annecy Cedex
Keywords:
Services, distributed ontologies, automatic and semantic mapping, Information Flow (IF) model.
Abstract:
Many distributed heterogenous systems exchange information between them. Currently, most of them are
described in terms of ontologies. When ontologies are distributed, arises the problem of achieving sematic in-
teroperability. This is undertaken by a process which defines rules to relate these ontologies, called “Ontology
Mapping” in order to achieve a given goal. This paper describes a methodology for automatic and semantic
mapping of ontologies. Our main interest is focused on ontologies describing services of systems. These
ontologies are called “Service Ontologies”. So, we investigate an approach where the mapping of ontologies
provides full semantic integration between distributed service ontologies using Information Flow model.
1 INTRODUCTION
In the Artificial Intelligence field, exchange of infor-
mation between distributed systems is a challenging
theme. Systems usually need to interoperate, they
also need to understand what they exchange. This in-
troduces the notion of Semantic Interoperability. To
reach this last, information must be expressed in a for-
mal way. Ontologies seem good mean to achieve this.
An ontology is generally seen as an explicit specifi-
cation of a conceptualization (Gruber, 1993), (Fikes,
1996). It should give an explicit definition of concepts
and relations between them. In order to exchange in-
formation basing on the use of ontologies, this prac-
tice of finding correspondences between ontologies is
called “Ontology Mapping”. It arises in many appli-
cation scenarios. In (Doan and Halevy, 2004) authors
have focused on the semantic integration work in the
database community. Where, in (Noy and Stucken-
schmidt, 2005) this issue is studied by giving a brief
review of ontology-based approaches to semantic in-
tegration. In (Kalfoglou and Schorlemmer, 2003),
a formalization of the coordination process between
ontologies is described, based on exchange that cap-
tures progressive partial semantic integration, using
the IF model (Barwise and Seligman, 1997). Most
of these works propose semi automatic mappings to
reach the semantic interoperability. Thus, it is neces-
sary to develop automatic techniques for mapping on-
tologies. Our approach shares the idea in (Kalfoglou
and Schorlemmer, 2003), which uses of IF Model
to solve semantics coordination of ontologies in dis-
tributed systems. We propose a methodology allow-
ing automatic mapping between distributed ontolo-
gies. As a crucial topic, information exchange be-
tween ontologies must occur in a semantic and sound
manner. The IF model is mainly based on a theory,
called IF Theory. This latter introduces a consequence
relation on a set of types, so that we can retrieve
from a type t
1
the corresponding type t
2
by , t
1
and
t
2
belonging to different sets of types. Precisely, how
the IF model selects two entities A and B, located re-
spectively in two systems. To relate these entities, the
model starts from the type of A, finds out what type is
related to it in the second system . Then, finds the cor-
responding entity B thanks to the relation . Entities
of two systems are linked by an information channel.
As many nowadays distributed systems are based on
the notion of services, we describe systems by a set
of functionalities offered by its components as ser-
vices. Certainly, services may depend on others of the
same system or of different systems. An efficient and
promising way to implement this is through the use
of ontologies. In our approach, concepts of ontolo-
gies are services, relationships between them express
the functional dependencies among them. Our inter-
est is to achieve the semantic interoperability when
services depend to others in a distributed system us-
ing IF model to connect services in order to solve a
high level service.
In this paper, we introduce in section 2 the notion of
Service Ontology, illustrating it by an example. Then,
we describe in section 3 the Ontology Mapping mech-
anism. We conclude by some perspectives.
259
Mellal N. and Dapoiny R. (2007).
FORMAL METHOD FOR AUTOMATIC AND SEMANTIC MAPPING OF DISTRIBUTED SERVICE-ONTOLOGIES.
In Proceedings of the Second International Conference on Software and Data Technologies - PL/DPS/KE/WsMUSE, pages 259-263
DOI: 10.5220/0001329602590263
Copyright
c
SciTePress
2 SERVICE ONTOLOGY
2.1 Case Study
The example will illustrate the different definitions
proposed in this paper. We consider a distributed
system which employs ticket agents. Each agent is
situated in a sub-system. Agents attempt to achieve
some services for distributing, selling, buying, book-
ing tickets from a range of sources. They may com-
municate and exchange services on the web. We
will treat a case where an agent (Agent
1
) attempts to
achieve a service of buying a ticket to go from Annecy
(France) to Barcelona (Spain). Once the depart and
the destination are identified, agent may obtain the
itinerary, but how to do if the agent can not achieve
the service of obtaining the itinerary? We will give
details about this problem in the next sections.
2.2 Service Notion
In (Kitamura et al., 2004), authors denoted a function-
ality of a component as a “verb+noun” style for rep-
resenting the components activities. Following this
approach, we associate with each service some pos-
sible actions in order to fulfill the intended service
(Hertzberg and Thiebaux, 1994), (Lifschitz, 1993).
So, we describe each service as a tuple: (Action verb,
{Property, Object}), where the action verb acts on
the object’s property. For each object, corresponds
a type defining its classification domain. We denote
a type an “Object Type” and the object itself speci-
fied by an identity is denoted “Object Token”. The
tuple {Property, Object} is called a context, when the
object is an object type, we call the context “Context
Type”, otherwise, “Context Token”.
Definition 1 “Context Type (respectively, Context
Token)”
A context type ξ
i
(resp, context token) is a tuple:
ξ
i
de f
(p, {ψ
1
, ψ
2
, ...ψ
n
}). Where p is a property, ψ
1
,
ψ
2
, ... ψ
n
is a set of object types (resp, object tokens).
Following the example, we suppose that the dis-
tributed system is represented by two ticket agents.
Thus, we propose some context types to the agent
Agent
1
:
ξ
1
= (Departure, Trip), ξ
2
= (Destinaton, Trip),
ξ
3
= (Date, Trip), ξ
4
= (Itinerary,Trip), and
ξ
5
= (Price, Trip).
Context tokens are not limited to:
c
1
= (Annecy, Flight Trip), c
2
=
(Barcelona, Flight Trip), c
3
= (July 22
2007, Flight Trip), c
4
= (Itinerary
1
, Flight
Trip), and c
5
= (200euros, Flight Trip).
Remark: We propose the same context types and
tokens to Agent
2
replacing ξ by ξ
and c by c
.
The problem of finding a formal structure to the
notion of service is treated in several researches. In
(Umeda et al., 1996), author suggested a represen-
tation of the form “To do X” for intended services.
Following this principles, we define a service such
as:
Definition 2 “Service Type (resp, Service Token)”
A Service type (resp, Service token), denoted by γ
i
, is
defined as a pair:
γ
i
de f
(a, {ξ
1
, ..., ξ
k
}). Where a, is an action verb, Ξ,
a non-empty set of context types (resp, context tokens)
and {ξ
1
, ..., ξ
k
} Ξ.
According to our example, there are basically some
primitive service types. Some are given to Agent
1
:
γ
1
= (to
identify, {ξ
1
}), γ
2
= (to identify, {ξ
2
}),
γ
3
= (to
identify, {ξ
3
}), γ
4
= (to obtain, {ξ
4
})
and γ
5
= (to
obtain, {ξ
5
})
Some service tokens for Agent
1
:
θ
1
= (to
identify, {c
1
}, θ
2
= (to identify, {c
2
},
θ
3
= (to
identify, {c
3
}, θ
4
= (to obtain, {c
4
}
and θ
5
= (to
obtain, {c
5
}
Remark: As a special case, we propose the same ser-
vice types and tokens to Agent
2
replacing γ by γ
and
θ by θ
.
2.3 Service Ontology
An ontology is a description of the concepts and re-
lationships between them. In our context, ontology is
described by:
1. Concepts: We associate service types with ontol-
ogy concepts.
2. Relations: An ontology is related to a Gentzen
system, which is a deduction system expressed by
the first order logic. The notion of sequent is cen-
tral in Gentzen system. Given a set S, a sequent of
S is a pair hX,Yi of subsets of S. A binary relation
between subsets of S is called a consequence
relation on S. The syntax of sequent is X Y
1
.
Sequents will represent subsets of ontology con-
cepts (service types), will express the functional
dependency between these services.
Definition 3 “Functional Relation
Let C be a non empty set of ontology concepts.
The binary relation between subsets of C is the
Gentzen consequence relation on C, such that:
1
The notation X Y may be written by x
i
, x
j
, ..
y
a
, y
b
, .., where x
i
, x
j
, .. X and x
i
, x
j
, .. Y. The comma
on the left is interpreted like a conjunction, the comma on
the right like a disjunction
ICSOFT 2007 - International Conference on Software and Data Technologies
260
Two subsets of C: c
x
and c
y
are related by , de-
noted c
x
c
y
, iff the service types of c
x
influence
functionally service types belonging to c
y
.
The expression c
x
c
y
must be understood that
the only way to achieve services in c
y
is to have
already achieved services in c
x
.
Therefore, we propose the following definition of a
service ontology:
Definition 4 “Service Ontology”
A Service Ontology SO”is a tuple < C, R >, where
C is the set of ontology concepts and R is the set of re-
lations. SO is described by an oriented graph, where,
its nodes represent concepts, and edges linking nodes
represent .
The defined SO describes a set of concepts, service
types, and the relations between them. This set can
be seen as complex service which is called global
service and its elements (ontology concepts) as sub-
services. We deduce that a global service is associ-
ated with a SO. It is a particular service token. We
detail two global services Θ
1
related to Agent
1
and
Θ
1
for Agent
2
. Θ
1
= (to
buy, {ticket,Flight Trip})
represented by the service ontology SO
1
. Θ
1
=
(to
obtain, {Duration,Flight Trip}) is represented
by SO
2
, (see figure 1). In this section, we described
Figure 1: Service Ontologies of Θ
1
and Θ
1
.
that the aim of an ontology of services is to describe
systems. The question which should be asked is how
to map between ontologies if they describe distributed
systems?
3 ONTOLOGY MAPPING
The approach is presented by different steps: Formal
description of services, building service-ontologies,
building the information channel to the given applica-
tion, and identification of the logic on the core of the
information channel and its distribution on this chan-
nel. Before developping the first and second steps, we
invite the reader to see (N. Mellal, 2006) and (Barwise
and Seligman, 1997) for more details on IF Model.
Table 1: The binary relation |= of IF-C
1
and IF-C
1
.
C
1
γ
1
γ
2
γ
4
c
1
1 0 0
c
2
0 1 0
c
3
0 0 0
c
4
0 0 1
c
5
0 0 0
C
1
γ
1
γ
2
γ
4
c
1
1 0 0
c
2
0 1 0
c
3
0 0 0
c
4
0 0 1
c
5
0 0 0
3.1 Building the Information Channel
3.1.1 Identification of IF Classifications
For each global service described by a service ontol-
ogy, we associate an IF classification. For the agent
Agent
1
, we associate the classification C
1
to Θ
1
and
C
1
to Θ
1
, see table 1:
3.1.2 Identification of IF Theories
IF Theories describe the different constraints on in-
formation flowing in the system. In our context a
constraint on service types is denoted γ
i
γ
k
repre-
sents the fact that γ
k
depends functionally on γ
i
. Ac-
cording to our objectives, IF theory specifies service
ontology. We give in the following the IF theories
of agents Agent
1
and Agent
2
: For (Agent
1
), we have
γ
1
γ
4
, γ
2
γ
4
, γ
3
γ
4
and γ
1
, γ
2
, γ
3
γ
4
, γ
4
γ
5
For (Agent
2
), we have γ
1
γ
4
, γ
2
γ
4
, γ
1
, γ
2
γ
4
3.1.3 Construction of IF Channel
It is the central aspect in the process of mapping
between service ontologies. In this step, we aim to
achieve Θ
1
. As assumed in section (2), Agent
1
cannot
obtain the itinerary from Annecy to Barcelona, so the
service token θ
4
= (to
obtain, {c
4
}) is not achievable
locally. Therefore, we will assume a partial align-
ment of context tokens. c
4
will be connected with
the context tokens candidates where their types are
related by the , so having the same type as c
4
. These
candidates (c
j
, ..) are obtained from remote systems.
Let us code that we may find service types having the
same context type as the context type of c
4
or not. It
is formalized by the classification A given in the table
2. Type of A is c
4
and its possible tokens are a and
b. A plays the role of reference to compare types of
distributed classifications. In our case, we compare
types of C
1
with those of C
1
. Let us note that in this
application, we get only two cases, but in general
for m context tokens we will get 2
m
different cases.
Our aim is to relate via infomorphisms the context
token c
4
appearing as a token in C
1
with those of
FORMAL METHOD FOR AUTOMATIC AND SEMANTIC MAPPING OF DISTRIBUTED SERVICE-ONTOLOGIES
261
Table 2: A and its flip A
.
A :
A
c
4
a 0
b 1
A
:
A
a b
c
4
0 1
distributed classifications (C
1
). We note that c
4
is
appeared as a type in A, where the context tokens in
the other classifications are classified as tokens and
not as types. That is, it is useful to introduce the flip
of the classification A, by interchanging rows and
columns. See the table 2. Thus, this gives rise to the
respective infomorphisms ζ
(Agent
1
)
1
, ζ
(Agent
2
)
1
permit to
connect A
with C
1
and C
1
. ζ
(Agent
1
)
1
: A
C
(Agent
1
)
1
and ζ
(Agent
2
)
1
: A
C
(Agent
2
)
1
Applying these infomorphisms we find:
with C
1
: ζ
1
(γ
1
) = a, ζ
1
(γ
2
)=a, ζ
1
(γ
3
)=a, ζ
1
(γ
4
)=b,
ζ
1
(c
4
)= c
4
,
with C
1
: ζ
1
(γ
1
) = a, ζ
1
(γ
2
) = a, ζ
1
(γ
4
) = b, ζ
1
(c
4
)
= c
4
.
The alignment allows the generation of the desired
channel between C
(Agent
1
)
1
and C
(Agent
2
)
1
. A core clas-
sification C is built with a couple of infomorphisms:
g
(Agent
1
)
1
: C
(Agent
1
)
1
C and g
(Agent
2
)
2
: C
(Agent
2
)
1
C
. Types of C are the elements of the disjoint union
of types from C
(Agent
1
)
1
and C
(Agent
2
)
1
. Tokens are the
cartesian product of tokens in C
1
and tokens in C
1
.
According to our scenario, c
4
of type γ
4
is connected
to a token c
q
of type γ
x
in the classification C
(Agent
2
)
1
to form the pair (c
4
, c
q
) iff ζ
1
(γ
4
)=ζ
1
(γ
x
). This con-
dition means that γ
4
and γ
x
are of the same type in
the classification A
. As a result, we have the pair:
(c
4
, c
4
). The IF theory on the core is built on the
union of types. The theory expresses how the types
of C
1
are related logically to the types of C
1
on the
core of the information channel. The IF theory relates
γ
4
with the types in C
1
. As a result, we have one con-
straint: γ
4
γ
4
for the sumC
1
,C
1
. In this example, we
find only one constraint, but it is possible to find more
than one and agent will choose the correspondent ser-
vice type, to achieve the global service.
3.2 Identification of the Logic on the
Core and the Distributed IF Logic
Given the logic Log(C)=L on the core C, the dis-
tributed logic DLog(C) on the sum of classifications
C
(Agent
1
)
1
+C
(Agent
2
)
1
is the inverse image of Log(C)
on this sum. In other words, the inverse im-
age of the IF logic in C is the result of the co-
product of C
(Agent
1
)
1
and C
(Agent
2
)
1
with the mor-
phism [g
(Agent
1
)
1
, g
(Agent
2
)
2
]
1
. We obtain sequents like
(γ
(Agent
2
)
q
, γ
(Agent
1
)
4
) relating service types on remote
systems to the local service type γ
4
. This result de-
scribes the semantic interoperability. According to
the initial constraint on service tokens the sequent
(γ
(Agent
2
)
4
, γ
(Agent
1
)
4
) matches the conditions. There-
fore, the C
1
has to be mapped semantically to C
1
in
order to constitute a sound distributed service.
4 CONCLUSION
We have presented in the present paper a formal
method for mapping distributed service ontologies in
a sound and automatic manner, basing on IF model.
In (N. Mellal, 2006), we proposed an algorithm spec-
ifying the process of mapping among multi agent sys-
tems which represent distributed systems. Each agent
is situated in a a system and has its own service on-
tologies. In this work, the IF-based approach tackles
the problem of building these dependencies from dis-
tributed logics. Future work includes implementing
a multi agent system to achieve automatically the se-
mantic mapping of service ontologies.
REFERENCES
Barwise, J. and Seligman, J. (1997). Information Flow: The
Logic of Distributed Systems. Cambridge University
Press.
Doan, A. and Halevy, A. (2004). Semantic-integration re-
search in the database community. Special issue on
semantic integration, 26:83–94.
Fikes, R. (1996). Ontologies: What are they, and where’s
the research?
Gruber, T. R. (1993). A translation approach to portable on-
tology specifications. Knowledge Acquisition, 5:199–
220.
Hertzberg, J. and Thiebaux, S. (1994). Turning an action
formalism into a planner: a case study. Journal of
Logic and Computation, pages 617–654.
Kalfoglou, Y. and Schorlemmer, M. (2003). If-map: an
ontology mapping method based on information flow
theory. Journal on Data Semantics, 1(1):98–127.
Kitamura, Y., Kashiwase, M., Fuse, M., and Mizoguchi, R.
(2004). Deployment of an ontological framework of
functional design knowledge. Advanced Engineering
Informatics, 18(2):115–127.
Lifschitz, V. (1993). A theory of actions. In the tenth In-
ternational Joint Conference on Artificial Intelligence,
pages 432–437.
N. Mellal, R. D. (2006). A multi-agent specification for
the goal-ontology mapping in distributed complex
ICSOFT 2007 - International Conference on Software and Data Technologies
262
systems. In 7th International Baltic Conference on
Databases and Information Systems, pages 235–243.
Noy, N. and Stuckenschmidt, H. (2005). Ontology align-
ment: An annotated bibliography.
Umeda, Y., Ishii, M., Yoshioka, M., Shimomura, Y., and
Tomiyama, T. (1996). Supporting conceptual design
based on the function-behavior-state modeler. pages
275–288.
FORMAL METHOD FOR AUTOMATIC AND SEMANTIC MAPPING OF DISTRIBUTED SERVICE-ONTOLOGIES
263