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 条
  • [31] Answering Spatial Approximate Keyword Queries in Disks
    Wang, Jinbao
    Yang, Donghua
    Wei, Yuhong
    Gao, Hong
    Li, Jianzhong
    Yuan, Ye
    WEB TECHNOLOGIES AND APPLICATIONS (APWEB 2015), 2015, 9313 : 424 - 436
  • [32] Answering XML queries by means of data summaries
    Baralis, Elena
    Garza, Paolo
    Quintarelli, Elisa
    Tanca, Letizia
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2007, 25 (03)
  • [33] An indexing method for answering queries on moving objects
    Elbassioni, K
    Elmasry, A
    Kamel, I
    DISTRIBUTED AND PARALLEL DATABASES, 2005, 17 (03) : 215 - 249
  • [34] Asymptotic Determinacy of Path Queries Using Union-of-Paths Views
    Francis, Nadime
    THEORY OF COMPUTING SYSTEMS, 2017, 61 (01) : 156 - 190
  • [35] Asymptotic Determinacy of Path Queries Using Union-of-Paths Views
    Nadime Francis
    Theory of Computing Systems, 2017, 61 : 156 - 190
  • [36] Spatiotemporal pattern queries
    Sakr, Mahmoud Attia
    Gueting, Ralf Hartmut
    GEOINFORMATICA, 2011, 15 (03) : 497 - 540
  • [37] Orthogonal Mechanism for Answering Batch Queries with Differential Privacy
    Huang, Dong
    Han, Shuguo
    Li, Xiaoli
    Yu, Philip S.
    PROCEEDINGS OF THE 27TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT, 2015,
  • [38] Answering Complex Structured Queries over the Deep Web
    Wang, Fan
    Agrawal, Gagan
    PROCEEDINGS OF THE 15TH INTERNATIONAL DATABASE ENGINEERING & APPLICATIONS SYMPOSIUM (IDEAS '11), 2011, : 115 - 123
  • [39] Answering linear optimization queries with an approximate stream index
    Gang Luo
    Kun-Lung Wu
    Philip S. Yu
    Knowledge and Information Systems, 2009, 20 : 95 - 121
  • [40] Efficient SPARQL Queries Generator for Question Answering Systems
    Chen, Yi-Hui
    Lu, Eric Jui-Lin
    Lin, Ying-Yen
    IEEE ACCESS, 2022, 10 : 99850 - 99860