Rewriting the Infinite Chase
Michael Benedikt, Maxime Buron, Stefano Germano, Kevin Kappelmann, Boris Motik
Abstract
Guarded tuple-generating dependencies (GTGDs) are a natural extension of description logics and referential constraints. It has long been known that queries over GTGDs can be answered by a variant of the chase ---a quintessential technique for reasoning with dependencies. However, there has been little work on concrete algorithms and even less on implementation. To address this gap, we revisit Datalog rewriting approaches to query answering, where GTGDs are transformed to a Datalog program that entails the same base facts on each base instance. We show that the rewriting can be seen as containing "shortcut" rules that circumvent certain chase steps, we present several algorithms that compute the rewriting by simulating specific types of chase steps, and we discuss important implementation issues. Finally, we show empirically that our techniques can process complex GTGDs derived from synthetic and real benchmarks and are thus suitable for practical use.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on1
Related papers
- Exploiting the Power of Equality-generating Dependencies in Ontological ReasoningLuigi Bellomarini, Davide Benedetto, Matteo Brandetti, Emanuel SallingerVLDB 2022 · 5 citations
- Materializing Knowledge Bases via Trigger GraphsEfthymia Tsamoura, David Carral, Enrico Malizia, Jacopo UrbaniVLDB 2021 · 34 citations
- ForBackBench: A Benchmark for Chasing vs. Query-RewritingAfnan G. Alhazmi, Tom Blount, George KonstantinidisVLDB 2022 · 9 citations
- Query Optimization for Ontology-Mediated Query AnsweringWafaa El Husseini, Cheikh Brahim El Vaigh, François Goasdoué, Hélène JaudoinWWW 2024 · 5 citations
- First Order Rewritability in Ontology-Mediated Querying in Horn Description LogicsDavid Toman, Grant E. WeddellAAAI 2022 · 5 citations
