Revisiting Answering Tree Pattern Queries Using Views

被引:5
作者
Wang, Junhu [1 ]
Yu, Jeffrey Xu [2 ]
机构
[1] Griffith Univ, Sch Informat & Commun Technol, Gold Coast, Australia
[2] Chinese Univ Hong Kong, Dept Syst Engn & Engn Management, Shatin, Hong Kong, Peoples R China
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2012年 / 37卷 / 03期
基金
澳大利亚研究理事会;
关键词
Theory; Algorithms; XML database; query processing; XPath; tree pattern; view; rewriting; CONTAINED REWRITINGS;
D O I
10.1145/2338626.2338631
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We revisit the problem of answering tree pattern queries using views. We first show that, for queries and views that do not have nodes labeled with the wildcard *, there is an approach which does not require us to find any rewritings explicitly, yet which produces the same answers as the maximal contained rewriting. Then, using the new approach, we give simple conditions and a corresponding algorithm for identifying redundant view answers, which are view answers that can be ignored when evaluating the maximal contained rewriting. We also consider redundant view answers in the case where there are multiple views, the relationship between redundant views and redundant view answers, and discuss how to combine the removal of redundant view answers and redundant rewritings. We show that the aforesaid results can be extended to a number of other special cases. Finally, for arbitrary queries and views in P-{/,P-//,P-*,P-[]}, we provide a method to find the maximal contained rewriting and show how to answer the query using views without explicitly finding the rewritings.
引用
收藏
页数:34
相关论文
共 50 条
  • [41] Answering Why-Not Group Spatial Keyword Queries
    Zheng, Bolong
    Zheng, Kai
    Jensen, Christian S.
    Nguyen Quoc Viet Hung
    Su, Han
    Li, Guohui
    Zhou, Xiaofang
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2020, 32 (01) : 26 - 39
  • [42] Indexing views to route queries in a PDMS
    Lefteris Sidirourgos
    George Kokkinidis
    Theodore Dalamagas
    Vassilis Christophides
    Timos Sellis
    Distributed and Parallel Databases, 2008, 23 : 45 - 68
  • [43] Indexing views to route queries in a PDMS
    Sidirourgos, Lefteris
    Kokkinidis, George
    Dalamagas, Theodore
    Christophides, Vassilis
    Sellis, Timos
    DISTRIBUTED AND PARALLEL DATABASES, 2008, 23 (01) : 45 - 68
  • [44] Answering Skyline Queries Over Incomplete Data With Crowdsourcing
    Miao, Xiaoye
    Gao, Yunjun
    Guo, Su
    Chen, Lu
    Yin, Jianwei
    Li, Qing
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2021, 33 (04) : 1360 - 1374
  • [45] A novel framework for the efficient evaluation of hybrid tree-pattern queries on large data graphs
    Wu, Xiaoying
    Theodoratos, Dimitri
    Skoutas, Dimitrios
    Lan, Michael
    INFORMATION SYSTEMS, 2023, 117
  • [46] Finding tree patterns consistent with positive and negative examples using queries
    Hiroki Ishizaka
    Hiroki Arimura
    Takeshi Shinohara
    Annals of Mathematics and Artificial Intelligence, 1998, 23 : 101 - 115
  • [47] Finding tree patterns consistent with positive and negative examples using queries
    Ishizaka, H
    Arimura, H
    Shinohara, T
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 1998, 23 (1-2) : 101 - 115
  • [48] Extended XML Tree Pattern Matching: Theories and Algorithms
    Lu, Jiaheng
    Ling, Tok Wang
    Bao, Zhifeng
    Wang, Chen
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2011, 23 (03) : 402 - 416
  • [49] Answering Multiple-Item Queries in Data Broadcast Systems
    Omotayo, Adesola
    Barker, Ken
    Hammad, Moustafa
    Higham, Lisa
    Kawash, Jalal
    DATASPACE: THE FINAL FRONTIER, PROCEEDINGS, 2009, 5588 : 120 - 132
  • [50] Logical Queries over Views: Decidability and Expressiveness
    Bailey, James
    Dong, Guozhu
    To, Anthony Widjaja
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2010, 11 (02)