[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2745754.2745773acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
research-article

Chase Termination for Guarded Existential Rules

Published: 20 May 2015 Publication History

Abstract

The chase procedure is considered as one of the most fundamental algorithmic tools in database theory. It has been successfully applied to different database problems such as data exchange, and query answering and containment under constraints, to name a few. One of the central problems regarding the chase procedure is all-instance termination, that is, given a set of tuple-generating dependencies (TGDs) (a.k.a. existential rules), decide whether the chase under that set terminates, for every input database. It is well-known that this problem is undecidable, no matter which version of the chase we consider. The crucial question that comes up is whether existing restricted classes of TGDs, proposed in different contexts such as ontological query answering, make the above problem decidable. In this work, we focus our attention on the oblivious and the semi-oblivious versions of the chase procedure, and we give a positive answer for classes of TGDs that are based on the notion of guardedness. To the best of our knowledge, this is the first work that establishes positive results about the (semi-)oblivious chase termination problem. In particular, we first concentrate on the class of linear TGDs, and we syntactically characterize, via rich- and weak-acyclicity, its fragments that guarantee the termination of the oblivious and the semi-oblivious chase, respectively. Those syntactic characterizations, apart from being interesting in their own right, allow us to pinpoint the complexity of the problem, which is PSPACE-complete in general, and NL-complete if we focus on predicates of bounded arity, for both the oblivious and the semi-oblivious chase. We then proceed with the more general classes of guarded and weakly-guarded TGDs. Although we do not provide syntactic characterizations for its relevant fragments, as for linear TGDs, we show that the problem under consideration remains decidable. In fact, we show that it is 2EXPTIME-complete in general, and EXPTIME-complete if we focus on predicates of bounded arity, for both the oblivious and the semi-oblivious chase. Finally, we investigate the expressive power of the query languages obtained from our analysis, and we show that they are equally expressive with standard database query languages. Nevertheless, we have strong indications that they are more succinct.

References

[1]
S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995.
[2]
A. V. Aho, Y. Sagiv, and J. D. Ullman. Efficient optimization of a class of relational expressions. ACM Trans. Database Syst., 4(4):435--454, 1979.
[3]
F. Baader. Least common subsumers and most specific concepts in a description logic with existential restrictions and terminological cycles. In IJCAI, pages 319--324, 2003.
[4]
J.-F. Baget, M. Leclère, M.-L. Mugnier, and E. Salvat. On rules with existential variables: Walking the decidability line. Artif. Intell., 175(9--10):1620--1654, 2011.
[5]
C. Beeri and M. Y. Vardi. A proof procedure for data dependencies. J. ACM, 31(4):718--741, 1984.
[6]
A. Calí, G. Gottlob, and M. Kifer. Taming the infinite chase: Query answering under expressive relational constraints. J. Artif. Intell. Res., 48:115--174, 2013.
[7]
A. Calí, G. Gottlob, and T. Lukasiewicz. A general Datalog-based framework for tractable query answering over ontologies. J. Web Sem., 14:57--83, 2012.
[8]
D. Calvanese, G. De Giacomo, D. Lembo, M. Lenzerini, and R. Rosati. Tractable reasoning and efficient query answering in description logics: The DL-Lite family. J. Autom. Reasoning, 39(3):385--429, 2007.
[9]
A. Deutsch, A. Nash, and J. B. Remmel. The chase revisisted. In PODS, pages 149--158, 2008.
[10]
A. Deutsch and V. Tannen. Reformulation of XML queries and constraints. In ICDT, pages 225--241, 2003.
[11]
R. Fagin, P. G. Kolaitis, R. J. Miller, and L. Popa. Data exchange: Semantics and query answering. Theor. Comput. Sci., 336(1):89--124, 2005.
[12]
T. Gogacz and J. Marcinkowski. All-instances termination of chase is undecidable. In ICALP, pages 293--304, 2014.
[13]
G. Gottlob, G. Orsi, and A. Pieris. Query rewriting and optimization for ontological databases. ACM Trans. Database Syst., 2014.
[14]
G. Gottlob, S. Rudolph, and M. Simkus. Expressiveness of guarded existential rule languages. In PODS, pages 27--38, 2014.
[15]
G. Grahne and A. Onet. Anatomy of the chase. CoRR, abs/1303.6682, 2013.
[16]
B. C. Grau, I. Horrocks, M. Krötzsch, C. Kupke, D. Magka, B. Motik, and Z. Wang. Acyclicity conditions and their application to query answering in description logics. In KR, 2012.
[17]
S. Greco, C. Molinaro, and F. Spezzano. Incomplete Data and Data Dependencies in Relational Databases. Morgan & Claypool Publishers, 2012.
[18]
S. Greco, F. Spezzano, and I. Trubitsyna. Stratification criteria and rewriting techniques for checking chase termination. PVLDB, 4(11):1158--1168, 2011.
[19]
A. Hernich and N. Schweikardt. CWA-solutions for data exchange settings with target dependencies. In PODS, pages 113--122, 2007.
[20]
P. M. Lewis, R. E. Stearns, and J. Hartmanis. Memory bounds for recognition of context-free and context-sensitive languages. In FOCS, pages 191--202, 1965.
[21]
D. Maier, A. O. Mendelzon, and Y. Sagiv. Testing implications of data dependencies. ACM Trans. Database Syst., 4(4):455--469, 1979.
[22]
B. Marnette. Generalized schema-mappings: From termination to tractability. In PODS, pages 13--22, 2009.
[23]
B. Marnette. Resolution and datalog rewriting under value invention and equality constraints. CoRR, abs/1212.0254, 2012.
[24]
M. Meier, M. Schmidt, and G. Lausen. On chase termination beyond stratification. PVLDB, 2(1):970--981, 2009.
[25]
R. E. Stearns, J. Hartmanis, and P. M. Lewis. Hierarchies of memory limited computations. In FOCS, pages 179--190, 1965.

Cited By

View all
  • (2024)Reasoning on property graphs with graph generating dependenciesInformation Sciences: an International Journal10.1016/j.ins.2024.120675672:COnline publication date: 1-Jun-2024
  • (2023)Querying Data Exchange Settings Beyond Positive QueriesTheory and Practice of Logic Programming10.1017/S1471068423000339(1-29)Online publication date: 15-Aug-2023
  • (2023)Saturation-Based Boolean Conjunctive Query Answering and Rewriting for the Guarded Quantification FragmentsJournal of Automated Reasoning10.1007/s10817-023-09687-x67:4Online publication date: 1-Dec-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
PODS '15: Proceedings of the 34th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems
May 2015
358 pages
ISBN:9781450327572
DOI:10.1145/2745754
  • General Chair:
  • Tova Milo,
  • Program Chair:
  • Diego Calvanese
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 May 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. chase procedure
  2. complexity
  3. decidability
  4. existential rules
  5. guardedness
  6. termination
  7. tuple-generating dependencies

Qualifiers

  • Research-article

Funding Sources

Conference

SIGMOD/PODS'15
Sponsor:
SIGMOD/PODS'15: International Conference on Management of Data
May 31 - June 4, 2015
Victoria, Melbourne, Australia

Acceptance Rates

PODS '15 Paper Acceptance Rate 25 of 80 submissions, 31%;
Overall Acceptance Rate 642 of 2,707 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)13
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Reasoning on property graphs with graph generating dependenciesInformation Sciences: an International Journal10.1016/j.ins.2024.120675672:COnline publication date: 1-Jun-2024
  • (2023)Querying Data Exchange Settings Beyond Positive QueriesTheory and Practice of Logic Programming10.1017/S1471068423000339(1-29)Online publication date: 15-Aug-2023
  • (2023)Saturation-Based Boolean Conjunctive Query Answering and Rewriting for the Guarded Quantification FragmentsJournal of Automated Reasoning10.1007/s10817-023-09687-x67:4Online publication date: 1-Dec-2023
  • (2022)Non-Uniformly Terminating Chase: Size and ComplexityProceedings of the 41st ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3517804.3524146(369-378)Online publication date: 12-Jun-2022
  • (2021)Semi-Oblivious Chase Termination: The Sticky CaseTheory of Computing Systems10.1007/s00224-020-09994-565:1(84-121)Online publication date: 1-Jan-2021
  • (2020)All-Instances Restricted Chase TerminationProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3387644(245-258)Online publication date: 14-Jun-2020
  • (2020)All-Instances Restricted Chase Termination for Linear TGDsKI - Künstliche Intelligenz10.1007/s13218-020-00690-734:4(465-473)Online publication date: 26-Sep-2020
  • (2019)Oblivious and semi-oblivious boundedness for existential rulesProceedings of the 28th International Joint Conference on Artificial Intelligence10.5555/3367243.3367258(1581-1587)Online publication date: 10-Aug-2019
  • (2018)DatalogDeclarative Logic Programming10.1145/3191315.3191317(3-100)Online publication date: 1-Sep-2018
  • (2018)Declarative Logic ProgrammingundefinedOnline publication date: 1-Sep-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media