Computing certain answers in the presence of dependencies

  • Authors:
  • Foto N. Afrati;Nikos Kiourtis

  • Affiliations:
  • Electrical and Computing Engineering, National Technical University of Athens, 157 73 Athens, Greece;Electrical and Computing Engineering, National Technical University of Athens, 157 73 Athens, Greece

  • Venue:
  • Information Systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

In this paper we consider conjunctive queries and views, and we investigate the problem of query answering using views in the presence of dependencies and in particular the problem of finding equivalent and maximally contained rewritings of a query using a set of views in the presence of dependencies. We present an efficient sound and complete algorithm CoreCoverC which finds equivalent rewritings with the minimum number of subgoals in the presence of weakly acyclic local as view tuple generating dependencies (C"L"A"V^w). We also present an efficient algorithm MiniconC that finds maximally contained rewritings (MCRs) with respect to the language of finite unions of conjunctive queries (UCQ) of a UCQ query Q in the presence of C"L"A"V^w. We also prove that an MCR of a UCQ query Q with respect to UCQ computes all the certain answers of Q both in the absence and presence of a set of dependencies C if the chase of Q with C terminates (and, in the case of dependencies, if such an MCR exists).