TY - GEN
T1 - Answering queries using views with arithmetic comparisons
AU - Afrati, Foto
AU - Li, Chen
AU - Mitra, Prasenjit
PY - 2002/6/3
Y1 - 2002/6/3
N2 - 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 queries.
AB - 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 queries.
UR - https://www.scopus.com/pages/publications/0036041424
UR - https://www.scopus.com/pages/publications/0036041424#tab=citedBy
U2 - 10.1145/543613.543641
DO - 10.1145/543613.543641
M3 - Conference contribution
AN - SCOPUS:0036041424
T3 - Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems
SP - 209
EP - 220
BT - Proceedings of the 21st ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, PODS 2002
PB - Association for Computing Machinery (ACM)
T2 - 21st ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, PODS 2002
Y2 - 3 June 2002 through 5 June 2002
ER -