Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rewriting with Acyclic Queries: Mind Your Head

Published 13 Jan 2022 in cs.DB and cs.LO | (2201.05129v6)

Abstract: The paper studies the rewriting problem, that is, the decision problem whether, for a given conjunctive query QQ and a set V\mathcal{V} of views, there is a conjunctive query $Q'$ over V\mathcal{V} that is equivalent to QQ, for cases where the query, the views, and/or the desired rewriting are acyclic or even more restricted. It shows that, if QQ itself is acyclic, an acyclic rewriting exists if there is any rewriting. An analogous statement also holds for free-connex acyclic, hierarchical, and q-hierarchical queries. Regarding the complexity of the rewriting problem, the paper identifies a border between tractable and (presumably) intractable variants of the rewriting problem: for schemas of bounded arity, the acyclic rewriting problem is NP-hard, even if both QQ and the views in V\mathcal{V} are acyclic or hierarchical. However, it becomes tractable if the views are free-connex acyclic (i.e., in a nutshell, their body is (i) acyclic and (ii) remains acyclic if their head is added as an additional atom).

Citations (2)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.