Preprint
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.Keywords
All Related Versions
- Version 1, 2022-12-16, ArXiv
- Published version: Proceedings of the VLDB Endowment, 15 (11), 3045.
This publication has 23 references indexed in Scilit:
- Graal: A Toolkit for Query Answering with Existential Rules2015
- The backchase revisitedThe VLDB Journal, 2013
- Index Data Structure for Fast Subset and Superset Queries2013
- Rewriting Guarded Negation Queries2013
- An Ontology-Based Reasoning Approach for Electric Power Utilities2013
- Magic-Sets for Datalog with Existential QuantifiersLecture Notes in Computer Science, 2012
- Reasoning in Description Logics by a Reduction to Disjunctive DatalogJournal of Automated Reasoning, 2007
- Tractable Reasoning and Efficient Query Answering in Description Logics: The DL-Lite FamilyJournal of Automated Reasoning, 2007
- NP-completeness of the set unification and matching problems1986
- Linear unificationJournal of Computer and System Sciences, 1978