<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The coDBz Information Integration System for Autonomous Data Sources</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Enrico Franconi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrei Lopatenko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Computer Science, Free University of Bozen-Bolzano</institution>
          ,
          <addr-line>Italy lastname @inf.unibz.it</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>The coDBz project (http://www.inf.unibz.it/∼franconi/coDBz/) studies the problem of efficient query processing in a network of databases, possibly with different schemas (ontologies), interconnected by means of mapping rules at the ontology level. In the coDBz system the case of GLAV mapping rules with conjunctive queries is considered, possibly containing existential variables both in the body and in the head. Each node can be queried locally for data, which the node can fetch from its neighbours if a mapping rule is involved. There are no restrictions on the topology of the network, in particular, cyclic networks are allowed. Dynamic networks are supported: if nodes and mapping rules appear or disappear during the computation, the query processing will eventually terminate with a sound and complete result. We have studied and evaluated optimisations of the query processing algorithm based on dynamic exploration and analysis of the topology of the network. The coDBz system employs a robust algorithm polynomial both in the size of the (dynamic) network and in the size of the global data. We claim that this approach to ontology-based integration is more suited for inter-operability of information sources in a business scenario, due to its data-centric approach as opposed to the constraint-centric approach of classical approaches to information integration (see Section 3).</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Peer Data Management Systems (PDMS)</title>
      <p>Our proposal shares the spirit of the Piazza system [Halevy et al., 2003;
Tatarinov and Halevy, 2004]. The vision of the Piazza peer data management system
(PDMS) project is to provide semantic mediation between an environment of
autonomous and heterogeneous peers, each with its own schema. Rather than
requiring the use of a single, uniform, centralised mediated ontology to share
data between peers, Piazza allows peers to define schema mappings between
pairs of peers (or among small subsets of peers). In turn, transitive
relationships among the schemas of the peers are exploited so the entire resources of
the PDMS can be used. The original Piazza system is limited in the fact that
it does not allow complex mapping rules (i.e., inter-ontology mappings must be
safe rules with atomic heads), it does not allow for fully cyclic mapping rules,
and it does not allow for dynamic networks (i.e., networks where peers may join
or leave anytime).</p>
      <p>Together with the work presented in [Halevy et al., 2003; Tatarinov and
Halevy, 2004], other researchers investigated the theoretical underpinnings of
peer database management systems. The work presented in [Calvanese et al.,
2004] proposes a logical analysis of the theory behind a PDMS, but it lacks a
distributed algorithm: it assumes that nodes may exchange both data and
mappings, so that only the query node will eventually evaluate the query answer in
one go – there is no distributed computation and the network may be flooded
with data. The work presented in [Bernstein et al., 2002; Serafini et al., 2003]
proposes a very general theoretical framework for PDMS, with expressive schema
mapping languages (up to first order logic) and constraint languages (up to first
order logic) applied to single peers. However, no computational characterisation
is given. The paper [Serafini and Ghidini, 2000] describes a local algorithm to
compute query answers in a P2P network, but it allows only safe schema
mapping rules with atomic heads. The algorithm is exponential in the number of
nodes and it floods the network with messages during query evaluation if the
network contains cycles. None of the above PDMS approaches supports dynamic
networks: in the case of peers joining or leaving the network during the
computation, neither the termination of the query answering algorithm nor the properties
of the possible query answer are guaranteed.</p>
      <p>Starting from the general ideas sketched above, the paper [Franconi et al.,
2003] provides the foundations of the coDBz system, and it introduces a general
logical and computational characterisation of networks of autonomous sources,
interconnected by means of inter-ontology mapping rules between pairs of peers.
This paper defines a precise model-theoretic semantics of a PDMS (fully
compatible with Piazza and the other PDMS framework presented above), it
characterises the general computational properties for the problem of answering queries
to a PDMS, and it presents tight complexity bounds and basic distributed
procedures for important special cases. The paper [Franconi et al., 2004b] analyses
a distributed procedure for the problem of local database update in a network
of database peers. The problem of local database update is different from the
problem of query answering. Given a PDMS, the answer to a local query may
involve data that is distributed over the network, and this may require the
participation of many nodes at query time. On the other hand, given a PDMS, a
“batch” update algorithm will be such that all the nodes consistently and
optimally propagate all the relevant data to their neighbours, allowing for subsequent
local queries to be answered locally within a node, without fetching data from
other nodes at query time. The update problem has been considered important
by the P2P literature; most notably, recent papers focused on the importance of
data exchange and materialisation for a stable P2P network [Fagin et al., 2003;
Daswani et al., 2003]. The papers [Franconi et al., 2004c] introduce a basic
distributed algorithm for query answering in a PDMS, together with the a first
prototypical implementation of coDBz in the JXTA framework. The proposed
algorithm is polynomial in data complexity, but it is still exponential in the
dimension of the network. These papers consider a network of databases,
possibly with different schemas, interconnected by means of mapping rules having
conjunctive queries both in the body and in the head, with possibly existential
variables both in the body and in the head (called GLAV rules) as first suggested
by [Calvanese et al., 2004]. Each node can be queried with a conjunctive query
over its schema, for data which the node can possibly fetch from its neighbours
using appropriate mapping rules. Unrestricted cyclic topologies of the network
are allowed. The proposed PDMS framework is robust in the sense that it
supports dynamic networks: even if nodes and mapping rules appear or disappear
during the computation, the proposed algorithm will eventually terminate with
a provably sound and complete result.</p>
      <p>Our latest contribution on the foundations of coDBz (submitted) is to extend
the results presented in [Franconi et al., 2003; 2004b; 2004c], by introducing and
evaluating experimentally a fully distributed query processing algorithm for a
PDMS, which is polynomial both in data complexity and in the dimension of
the network. As it comes out from the comparison with the unoptimized version
of the algorithm, the new version of the algorithm outperforms the unoptimized
one exponentially with respect to the size of the network for highly connected
networks. We have shown that knowledge of network structure may help to
significantly improve the efficiency of query processing, both in the number of
exchanged messages and in the time to get a complete answer. However, our
optimization methods do not require advance knowledge of this topology, since
the topology is discovered during query processing. The contributions of this
paper include a definition of soundness and completeness for query processing
in dynamically changing networks. Moreover, the query answering algorithm is
shown to be efficient with respect to changes of the network. In particular, when
the size of the change during query processing is sensibly less than the size of the
network itself, query processing time is comparable to that of query processing
in a stable network. The assumption that a change is small with respect to the
size of whole network is reasonable for large scale networks.
3</p>
    </sec>
    <sec id="sec-3">
      <title>PDMS vs. Data Integration Systems</title>
      <p>
        Another line of research that is necessary to compare with the PDMS framework
proposed here, is the standard classical logic-based data integration technology,
which has been summarised in [Lenzerini, 2002]; successful examples of
classical logic-based data integration technology are the Information Manifold [Kirk
et al., 1995] and Tsimmis [Garcia-Molina et al., 1997]. The main difference is
in the role of the inter-ontology mapping rules between nodes: in a PDMS a
schema mapping rule is intended for data migration and transformation between
neighbours, as opposed to the role of global logical constraints in classical data
integration systems. It can be proved
        <xref ref-type="bibr" rid="ref10 ref14 ref3 ref4 ref5">(see, e.g., [Franconi et al., 2003])</xref>
        that by
adopting a PDMS semantics the complexity of query answering is reduced from
exponential (or undecidable) down to polynomial (in data complexity). This is
due to the fact that in the classical approach therem proving techniques have
to be employed in order to correctly implement the semantics of the mappings
as (first-order) constraints between ontologies. As a consequence, our approach
emphasises inter-operability of data sources mediated by ontologies and
interontology mappings, as opposed to the emphasis on reasoning about integrated
ontologies that is typical of classical approaches to information integration.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [Bernstein et al.,
          <year>2002</year>
          ]
          <string-name>
            <given-names>P.</given-names>
            <surname>Bernstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Giunchiglia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kementsietsidis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mylopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Serafini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and I.</given-names>
            <surname>Zaihrayeu</surname>
          </string-name>
          .
          <article-title>Data management for peer-to-peer computing: A vision</article-title>
          .
          <source>In Workshop on the Web and Databases</source>
          ,
          <source>WebDB</source>
          <year>2002</year>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [Calvanese et al.,
          <year>2004</year>
          ] Diego Calvanese, Giuseppe De Giacomo, Maurizio Lenzerini, and
          <string-name>
            <given-names>Riccardo</given-names>
            <surname>Rosati</surname>
          </string-name>
          .
          <article-title>Logical foundations of peer-to-peer data integration</article-title>
          .
          <source>In Proc. of the 23rd ACM SIGACT SIGMOD SIGART Sym. on Principles of Database Systems (PODS-2004)</source>
          ,
          <year>2004</year>
          . To appear.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [Daswani et al.,
          <year>2003</year>
          ]
          <string-name>
            <given-names>Neil</given-names>
            <surname>Daswani</surname>
          </string-name>
          , Hector Garcia-Molina, and
          <string-name>
            <given-names>Beverly</given-names>
            <surname>Yang</surname>
          </string-name>
          .
          <article-title>Open problems in data-sharing peer-to-peer systems</article-title>
          .
          <source>In ICDT</source>
          <year>2003</year>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [Fagin et al.,
          <year>2003</year>
          ]
          <string-name>
            <given-names>Ronald</given-names>
            <surname>Fagin</surname>
          </string-name>
          , Phokion G. Kolaitis,
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Lucian</given-names>
            <surname>Popa</surname>
          </string-name>
          .
          <article-title>Data exchange: Semantics and query answering</article-title>
          .
          <source>In Proceedings of the 9th International Conference on Database Theory</source>
          , pages
          <fpage>207</fpage>
          -
          <lpage>224</lpage>
          . Springer-Verlag,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [Franconi et al.,
          <year>2003</year>
          ]
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          , Gabriel Kuper, Andrei Lopatenko, and
          <string-name>
            <given-names>Luciano</given-names>
            <surname>Serafini</surname>
          </string-name>
          .
          <article-title>A robust logical and computational characterisation of peer-to-peer database systems</article-title>
          .
          <source>In Proceedings of the VLDB International Workshop on Databases, Information Systems and Peer-to-Peer Computing (DBISP2P'03)</source>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [Franconi et al., 2004a]
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          , Gabriel Kuper, Andrei Lopatenko, and
          <string-name>
            <given-names>Ilya</given-names>
            <surname>Zaihrayeu</surname>
          </string-name>
          .
          <article-title>The coDB robust peer-to-peer database system</article-title>
          .
          <source>In Proc. of the 2nd Workshop on Semantics in Peer-to-Peer and Grid Computing (SemPGrid'04)</source>
          , at WWW-
          <year>2004</year>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [Franconi et al., 2004b]
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          , Gabriel Kuper, Andrei Lopatenko, and
          <string-name>
            <given-names>Ilya</given-names>
            <surname>Zaihrayeu</surname>
          </string-name>
          .
          <article-title>A distributed algorithm for robust data sharing and updates in p2p database networks</article-title>
          .
          <source>In Proceedings of the EDBT International Workshop on Peer-topeer Computing and Databases (P2P&amp;DB'04)</source>
          ,
          <year>March 2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [Franconi et al., 2004c]
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          , Gabriel Kuper, Andrei Lopatenko, and
          <string-name>
            <given-names>Ilya</given-names>
            <surname>Zaihrayeu</surname>
          </string-name>
          .
          <article-title>Queries and updates in the coDB peer to peer database system</article-title>
          .
          <source>In Proc. of the 30th International Conference on Very Large Data Bases (VLDB'04)</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [
          <string-name>
            <surname>Garcia-Molina</surname>
          </string-name>
          et al.,
          <year>1997</year>
          ]
          <string-name>
            <given-names>Hector</given-names>
            <surname>Garcia-Molina</surname>
          </string-name>
          , Yannis Papakonstantinou, Dallan Quass, Anand Rajaraman, Yehoshua Sagiv,
          <string-name>
            <given-names>Jeffrey D.</given-names>
            <surname>Ullman</surname>
          </string-name>
          , Vasilis Vassalos, and
          <string-name>
            <given-names>Jennifer</given-names>
            <surname>Widom</surname>
          </string-name>
          .
          <article-title>The TSIMMIS approach to mediation: Data models and languages</article-title>
          .
          <source>Journal of Intelligent Information Systems</source>
          ,
          <volume>8</volume>
          (
          <issue>2</issue>
          ):
          <fpage>117</fpage>
          -
          <lpage>132</lpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [Halevy et al.,
          <year>2003</year>
          ]
          <string-name>
            <given-names>Alon</given-names>
            <surname>Halevy</surname>
          </string-name>
          , Zachary Ives, Dan Suciu, and
          <string-name>
            <given-names>Igor</given-names>
            <surname>Tatarinov</surname>
          </string-name>
          .
          <article-title>Schema mediation in peer data management systems</article-title>
          .
          <source>In Proceedings of the 19th International Conference on Data Engineering (ICDE'03)</source>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [Kirk et al.,
          <year>1995</year>
          ]
          <string-name>
            <given-names>T.</given-names>
            <surname>Kirk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Y.</given-names>
            <surname>Levy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sagiv</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Srivastava</surname>
          </string-name>
          .
          <article-title>The Information Manifold</article-title>
          . In C.
          <article-title>Knoblock and A</article-title>
          . Levy, editors,
          <source>Proceedings of the AAAI 1995 Spring Symp. on Information Gathering from Heterogeneous</source>
          , Distributed Environments, Stanford University, Stanford, California,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <source>[Lenzerini</source>
          , 2002]
          <string-name>
            <given-names>Maurizio</given-names>
            <surname>Lenzerini</surname>
          </string-name>
          .
          <article-title>Data integration: a theoretical perspective</article-title>
          .
          <source>In Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems</source>
          , pages
          <fpage>233</fpage>
          -
          <lpage>246</lpage>
          . ACM Press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <source>[Serafini and Ghidini</source>
          , 2000]
          <string-name>
            <given-names>Luciano</given-names>
            <surname>Serafini</surname>
          </string-name>
          and
          <string-name>
            <given-names>Chiara</given-names>
            <surname>Ghidini</surname>
          </string-name>
          .
          <article-title>Using wrapper agents to answer queries in distributed information systems</article-title>
          .
          <source>In Proceedings of the First Biennial Int. Conf. on Advances in Information Systems (ADVIS-2000)</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [Serafini et al.,
          <year>2003</year>
          ]
          <string-name>
            <given-names>Luciano</given-names>
            <surname>Serafini</surname>
          </string-name>
          , Fausto Giunchiglia, John Mylopoulos, and
          <string-name>
            <surname>Philip</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Bernstein</surname>
          </string-name>
          .
          <article-title>Local relational model: A logical formalization of database coordination</article-title>
          .
          <source>In CONTEXT 2003</source>
          , pages
          <fpage>286</fpage>
          -
          <lpage>299</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <source>[Tatarinov and Halevy</source>
          , 2004]
          <string-name>
            <given-names>Igor</given-names>
            <surname>Tatarinov</surname>
          </string-name>
          and
          <string-name>
            <given-names>Alon</given-names>
            <surname>Halevy</surname>
          </string-name>
          .
          <article-title>Efficient query reformulation in peer data management systems</article-title>
          .
          <source>In Proceedings of the SIGMOD International Conference on Management of Data (SIGMOD'04)</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>