Views and Queries: Determinacy and Rewriting

被引:57
|
作者
Nash, Alan
Segoufin, Luc [1 ,2 ]
Vianu, Victor [3 ]
机构
[1] INRIA, F-94235 Cachan, France
[2] ENS, LSV, F-94235 Cachan, France
[3] Univ Calif San Diego, CSE 0404, La Jolla, CA 92093 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2010年 / 35卷 / 03期
基金
美国国家科学基金会;
关键词
Algorithms; Design; Security; Theory; Verification; Queries; views; rewritingg;
D O I
10.1145/1806907.1806913
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 is an element of Q can be rewritten in terms of V is an element of 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.
引用
收藏
页数:41
相关论文
共 50 条
  • [11] Rewriting Queries for Hyper-Relations
    Milicev, Dragan
    Sustran, Zivojin
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (09) : 4862 - 4873
  • [12] A Representation of Certain Answers for Views and Queries with Negation
    Felea, Victor
    DBKDA 2011: THE THIRD INTERNATIONAL CONFERENCE ON ADVANCES IN DATABASES, KNOWLEDGE, AND DATA APPLICATIONS, 2011, : 142 - 147
  • [13] Revisiting Answering Tree Pattern Queries Using Views
    Wang, Junhu
    Yu, Jeffrey Xu
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2012, 37 (03):
  • [14] Queries and materialized views on probabilistic databases
    Dalvi, Nilesh
    Re, Christopher
    Suciu, Dan
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2011, 77 (03) : 473 - 490
  • [15] Answering Pattern Queries Using Views
    Fan, Wenfei
    Wang, Xin
    Wu, Yinghui
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2016, 28 (02) : 326 - 341
  • [16] Predicate rewriting for translating Boolean queries in a heterogeneous information system
    Chang, CCK
    García-Molina, H
    Paepcke, A
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 1999, 17 (01) : 1 - 39
  • [17] Logical Queries over Views: Decidability and Expressiveness
    Bailey, James
    Dong, Guozhu
    To, Anthony Widjaja
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2010, 11 (02)
  • [18] Approximating Graph Pattern Queries Using Views
    Li, Jia
    Cao, Yang
    Liu, Xudong
    CIKM'16: PROCEEDINGS OF THE 2016 ACM CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2016, : 449 - 458
  • [19] SPARQL queries to RDFS views of Topic Maps
    Stefanova S.
    Risch T.
    International Journal of Metadata, Semantics and Ontologies, 2010, 5 (01) : 1 - 16
  • [20] Query rewriting algorithm evaluation for XML security views
    Rassadko, Nataliya
    SECURE DATA MANAGEMENT, PROCEEDINGS, 2007, 4721 : 64 - 80