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] Relational Languages and Data Models for Continuous Queries on Sequences and Data Streams
    Law, Yan-Nei
    Wang, Haixun
    Zaniolo, Carlo
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2011, 36 (02):
  • [42] PROCESSING TIME-CONSTRAINED AGGREGATE QUERIES IN CASE-DB
    HOU, WC
    OZSOYOGLU, G
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1993, 18 (02): : 224 - 261
  • [43] Query Rewriting and Optimization for Ontological Databases
    Gottlob, Georg
    Orsi, Giorgio
    Pieris, Andreas
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2014, 39 (03):
  • [44] ON THE ADEQUACY OF GRAPH REWRITING FOR STIMULATING TERM REWRITING
    KENNAWAY, JR
    KLOP, JW
    SLEEP, MR
    DEVRIES, FJ
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (03): : 493 - 523
  • [45] Conjunctive queries over trees
    Gottlob, Georg
    Koch, Christoph
    Schulz, Klaus U.
    JOURNAL OF THE ACM, 2006, 53 (02) : 238 - 272
  • [46] On the Complexity of Existential Positive Queries
    Chen, Hubie
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2014, 15 (01)
  • [47] Comparing Workflow Specification Languages: A Matter of Views
    Abiteboul, Serge
    Bourhis, Pierre
    Vianu, Victor
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2012, 37 (02):
  • [48] Towards a Theory of Search Queries
    Fletcher, George H. L.
    Van den Bussche, Jan
    Van Gucht, Dirk
    Vansummeren, Stijn
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2010, 35 (04):
  • [49] Maintenance of K-nn and spatial join queries on continuously moving points
    Iwerks, Glenn S.
    Samet, Hanan
    Smith, Kenneth P.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2006, 31 (02): : 485 - 536
  • [50] Automated Termination Proofs for Haskell by Term Rewriting
    Giesl, Juergen
    Raffelsieper, Matthias
    Schneider-Kamp, Peter
    Swiderski, Stephan
    Thiemann, Rene
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2011, 33 (02):