Rewriting Ontological Queries into Small Nonrecursive Datalog Programs
@misc{gottlob2011rewriting,
title = {Rewriting Ontological Queries into Small Nonrecursive Datalog Programs},
author = {Georg Gottlob and Thomas Schwentick},
year = {2011},
eprint = {1106.3767},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/1106.3767}
}
Gottlob, G., & Schwentick, T. (2011). Rewriting Ontological Queries into Small Nonrecursive Datalog Programs [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1106.3767
GOTTLOB G, SCHWENTICK T. Rewriting Ontological Queries into Small Nonrecursive Datalog Programs[EB/OL]. (2011-06-19)[2026-11-29]. https://arxiv.org/abs/1106.3767.
Abstract
We consider the setting of ontological database access, where an Abox is given in form of a relational database D and where a Boolean conjunctive query q has to be evaluated against D modulo a Tbox T formulated in DL-Lite or Linear Datalog+/-. It is well-known that (T,q) can be rewritten into an equivalent nonrecursive Datalog program P that can be directly evaluated over D. However, for Linear Datalog? or for DL-Lite versions that allow for role inclusion, the rewriting methods described so far result in a nonrecursive Datalog program P of size exponential in the joint size of T and q. This gives rise to the interesting question of whether such a rewriting necessarily needs to be of exponential size. In this paper we show that it is actually possible to translate (T,q) into a polynomially sized equivalent nonrecursive Datalog program P.