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 条
  • [41] Rewriting XQL queries on XML repositories
    Wood, PT
    ADVANCES IN DATABASES, 2000, 1832 : 209 - 226
  • [42] An Intermediate Representation for Rewriting Cypher Queries
    Hofer, Daniel
    Mohamed, Aya
    Nadschlaeger, Stefan
    Auer, Dagmar
    DATABASE AND EXPERT SYSTEMS APPLICATIONS - DEXA 2023 WORKSHOPS, 2023, 1872 : 86 - 90
  • [43] Rewriting queries for XML integration systems
    Li, Ling
    Lee, Mong Li
    Hsu, Wynne
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2006, 4080 : 138 - 148
  • [44] Rewriting Queries for Hyper-Relations
    Milicev, Dragan
    Sustran, Zivojin
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (09) : 4862 - 4873
  • [45] Models XP for Rewriting XPath Queries
    Tudor, Nicoleta Liviana
    STUDIES IN INFORMATICS AND CONTROL, 2011, 20 (02): : 121 - 128
  • [46] Efficient rewriting algorithms for preference queries
    Georgiadis, Periklis
    Kapantaidakis, Ioannis
    Christophides, Vassilis
    Nguer, Elhadji Mamadou
    Spyratos, Nicolas
    2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 1101 - +
  • [47] Determinacy and Rewriting of Top-Down and MSO Tree Transformations
    Benedikt, Michael
    Engelfriet, Joost
    Maneth, Sebastian
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2013, 2013, 8087 : 146 - 158
  • [48] Completing queries:: Rewriting of incomplete Web queries under schema constraints
    Berger, Sacha
    Bry, Francois
    Furche, Tim
    Haeusler, Andreas J.
    WEB REASONING AND RULE SYSTEMS, PROCEEDINGS, 2007, 4524 : 319 - +
  • [49] Conjunctive Queries with Constraints: Homomorphism, Containment and Rewriting
    Kiani, Ali
    Shiri, Nematollaah
    FOUNDATIONS OF INFORMATION AND KNOWLEDGE SYSTEMS, PROCEEDINGS, 2010, 5956 : 40 - 57
  • [50] Query Rewriting for Voice Shopping Null Queries
    Gamzu, Iftah
    Haikin, Marina
    Halabi, Nissim
    PROCEEDINGS OF THE 43RD INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR '20), 2020, : 1369 - 1378