All-Instances Termination of Chase is Undecidable

We show that all–instances termination of chase is undecidable. More precisely, there is no algorithm deciding, for a given set \(\cal T\) consisting of Tuple Generating Dependencies (a.k.a. Datalog ∃ program), whether the \(\cal T\)-chase on D will terminate for every finite database instance D. Our method applies to Oblivious Chase, Semi-Oblivious Chase and – after a slight modification – also for Standard Chase. This means that we give a (negative) solution to the all–instances termination problem for all version of chase that are usually considered.

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

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

[3]  Nicole Schweikardt,et al.  CWA-solutions for data exchange settings with target dependencies , 2007, PODS '07.

[4]  Gabriel M. Kuper,et al.  Structural Properties of XPath Fragments , 2003, ICDT.

[5]  Harry G. Mairson,et al.  Undecidable optimization problems for database logic programs , 1993, JACM.

[6]  Andrea Calì,et al.  A general datalog-based framework for tractable query answering over ontologies , 2009, SEBD.

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

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

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

[10]  Jerzy Marcinkowski,et al.  Achilles, Turtle, and Undecidable Boundedness Problems for Small DATALOG Programs , 1999, SIAM J. Comput..

[11]  Maurizio Lenzerini Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems: Foreword , 2008 .

[12]  Alfred V. Aho,et al.  Efficient optimization of a class of relational expressions , 1978, SIGMOD Conference.

[13]  Andrea Calì,et al.  Taming the Infinite Chase: Query Answering under Expressive Relational Constraints , 2008, Description Logics.

[14]  David Maier,et al.  Testing implications of data dependencies , 1979, SIGMOD '79.

[15]  Sergio Greco,et al.  Chase termination , 2010, Proc. VLDB Endow..

[16]  Alin Deutsch,et al.  Reformulation of XML Queries and Constraints , 2003, ICDT.

[17]  Georg Gottlob,et al.  Datalog±: a unified approach to ontologies and integrity constraints , 2009, ICDT '09.

[18]  Adrian Onet,et al.  On Conditional Chase Termination , 2011, AMW.

[19]  Adrian Onet,et al.  The Chase Procedure and its Applications in Data Exchange , 2013, Data Exchange, Information, and Streams.