z-logo
open-access-imgOpen Access
Views and queries
Author(s) -
Alan Nash,
Luc Segoufin,
Victor Vianu
Publication year - 2010
Publication title -
acm transactions on database systems
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.988
H-Index - 84
eISSN - 1557-4644
pISSN - 0362-5915
DOI - 10.1145/1806907.1806913
Subject(s) - rewriting , determinacy , computer science , decidability , query language , conjunctive query , connection (principal bundle) , set (abstract data type) , completeness (order theory) , programming language , theoretical computer science , mathematics , information retrieval , mathematical analysis , geometry , relational database
We investigate the question of whether a query Q can be answered using a set V of views. We first define the problem in information-theoretic terms: we say that V determines Q if V provides enough information to uniquely determine the answer to Q. Next, we look at the problem of rewriting Q in terms of V using a specific language. Given a view language V and query language Q, we say that a rewriting language R is complete for V-to-Q rewritings if every Q ∈ Q can be rewritten in terms of V ∈ V using a query in R, whenever V determines Q. While query rewriting using views has been extensively investigated for some specific languages, the connection to the information-theoretic notion of determinacy, and the question of completeness of a rewriting language have received little attention. In this article we investigate systematically the notion of determinacy and its connection to rewriting. The results concern decidability of determinacy for various view and query languages, as well as the power required of complete rewriting languages. We consider languages ranging from first-order to conjunctive queries.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom