Answering queries using views with arithmetic comparisons
Authors:
Open Access
- 3 June 2002
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 209-220
Abstract
We consider the problem of answering queries using views, where queries and views are conjunctive queries with arithmetic comparisons (CQACs) over dense orders. Previous work only considered limited variants of this problem, without giving a complete solution. We have developed a novel algorithm to obtain maximally-contained rewritings (MCRs) for queries having left (or right) semi-interval-comparison predicates. For semi-interval queries, we show that the language of finite unions of CQAC rewritings is not sufficient to find a maximally-contained solution, and identify cases where datalog is sufficient. Finally, we show that it is decidable to obtain equivalent rewritings for CQAC queriesKeywords
This publication has 17 references indexed in Scilit:
- Theory of answering queries using viewsACM SIGMOD Record, 2000
- An adaptive query execution system for data integration1999
- Complexity of answering queries using materialized views1998
- On the complexity of the containment problem for conjunctive queries with built-in predicates1998
- Implication and referential constraints: a new formal reasoningIEEE Transactions on Knowledge and Data Engineering, 1997
- The complexity of querying indefinite data about linearly ordered domains1992
- On the equivalence of recursive and nonrecursive datalog programs1992
- On conjunctive queries containing inequalitiesJournal of the ACM, 1988
- Parallel evaluation of recursive rule queries1985
- Optimal implementation of conjunctive queries in relational data bases1977