Relaxed Notions of Schema Mapping Equivalence Revisited

Recently, two relaxed notions of equivalence of schema mappings have been introduced, which provide more potential of optimizing schema mappings than logical equivalence: data exchange (DE) equivalence and conjunctive query (CQ) equivalence. In this work, we systematically investigate these notions of equivalence for mappings consisting of s-t tgds and target egds and/or target tgds. We prove that both CQ- and DE-equivalence are undecidable and so are some important optimization tasks (like detecting if some dependency is redundant). However, we also identify an important difference between the two notions of equivalence: CQ-equivalence remains undecidable even if the schema mappings consist of s-t tgds and target dependencies in the form of key dependencies only. In contrast, DE-equivalence is decidable for schema mappings with s-t tgds and target dependencies in the form of functional and inclusion dependencies with terminating chase property.

[1]  Catriel Beeri,et al.  A Proof Procedure for Data Dependencies , 1984, JACM.

[2]  Ronald Fagin,et al.  Data exchange: semantics and query answering , 2003, Theor. Comput. Sci..

[3]  Georg Gottlob,et al.  On the complexity of single-rule datalog queries , 2003, Inf. Comput..

[4]  Ronald Fagin,et al.  Reverse data exchange: Coping with nulls , 2009, TODS.

[5]  Marcelo Arenas,et al.  Inverting Schema Mappings: Bridging the Gap between Theory and Practice , 2009, Proc. VLDB Endow..

[6]  Ronald Fagin,et al.  Quasi-inverses of schema mappings , 2008, ACM Trans. Database Syst..

[7]  Ronald Fagin,et al.  Composing schema mappings: second-order dependencies to the rescue , 2004, PODS '04.

[8]  Joann J. Ordille,et al.  Data integration: the teenage years , 2006, VLDB.

[9]  Georg Gottlob,et al.  Normalization and optimization of schema mappings , 2009, The VLDB Journal.

[10]  Bruno Marnette,et al.  Generalized schema-mappings: from termination to tractability , 2009, PODS.

[11]  Jayant Madhavan,et al.  Composing Mappings Among Data Sources , 2003, VLDB.

[12]  Philip A. Bernstein,et al.  Implementing mapping composition , 2007, The VLDB Journal.

[13]  Reinhard Pichler,et al.  Towards practical feasibility of core computation in data exchange , 2010, Theor. Comput. Sci..

[14]  Georg Lausen,et al.  On Chase Termination Beyond Stratification , 2009, Proc. VLDB Endow..

[15]  Marcelo Arenas,et al.  Foundations of schema mapping management , 2010, PODS '10.

[16]  Georg Gottlob,et al.  Normalization and Optimization of Schema Mappings , 2009, Proc. VLDB Endow..

[17]  Phokion G. Kolaitis Schema mappings, data exchange, and metadata management , 2005, PODS '05.

[18]  Ronald Fagin,et al.  Towards a theory of schema-mapping optimization , 2008, PODS.

[19]  Philip A. Bernstein,et al.  Applying Model Management to Classical Meta Data Problems , 2003, CIDR.

[20]  Ronald Fagin,et al.  Composition with target constraints , 2010, ICDT '10.

[21]  Sergey Melnik,et al.  Generic Model Management , 2004, Lecture Notes in Computer Science.

[22]  Alin Deutsch,et al.  The chase revisited , 2008, PODS.

[23]  David S. Johnson,et al.  Testing containment of conjunctive queries under functional and inclusion dependencies , 1982, J. Comput. Syst. Sci..

[24]  Maurizio Lenzerini,et al.  Data integration: a theoretical perspective , 2002, PODS.

[25]  Emanuel Sallinger,et al.  On the Undecidability of the Equivalence of Second-Order Tuple Generating Dependencies , 2015, AMW.

[26]  Alon Y. Halevy,et al.  Recursive Query Plans for Data Integration , 2000, J. Log. Program..

[27]  Georg Gottlob,et al.  On the Complexity of Single-Rule Datalog Queries , 1999, LPAR.

[28]  Alin Deutsch,et al.  XML queries and constraints, containment and reformulation , 2005, Theor. Comput. Sci..

[29]  Oded Shmueli,et al.  Equivalence of DATALOG Queries is Undecidable , 1993, J. Log. Program..

[30]  Marcelo Arenas,et al.  The recovery of a schema mapping: bringing exchanged data back , 2008, TODS.

[31]  Ronald Fagin Inverting schema mappings , 2007 .

[32]  Ronald Fagin,et al.  Horn clauses and database dependencies , 1982, JACM.

[33]  Philip A. Bernstein,et al.  Model management 2.0: manipulating richer mappings , 2007, SIGMOD '07.