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 条
  • [21] DATALOG REWRITINGS OF REGULAR PATH QUERIES USING VIEWS
    Francis, Nadime
    Segoufin, Luc
    Sirangelo, Cristina
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (04)
  • [22] Efficient processing of partially specified twig pattern queries
    JunFeng Zhou
    XiaoFeng Meng
    TokWang Ling
    Science in China Series F: Information Sciences, 2009, 52 : 1830 - 1847
  • [23] Efficient processing of partially specified twig pattern queries
    LING TokWang
    Science China(Information Sciences), 2009, (10) : 1830 - 1847
  • [24] Efficient processing of partially specified twig pattern queries
    Zhou JunFeng
    Meng XiaoFeng
    Ling TokWang
    SCIENCE IN CHINA SERIES F-INFORMATION SCIENCES, 2009, 52 (10): : 1830 - 1847
  • [25] Capturing Continuous Data and Answering Aggregate Queries in Probabilistic XML
    Abiteboul, Serge
    Chan, T. -H. Hubert
    Kharlamov, Evgeny
    Nutt, Werner
    Senellart, Pierre
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2011, 36 (04):
  • [26] Extended conditions for answering an aggregate query using materialized views
    Chang, JY
    Lee, SG
    INFORMATION PROCESSING LETTERS, 1999, 72 (5-6) : 205 - 212
  • [27] Rewriting queries using views over monadic database schemas
    Van den Bussche, J
    INFORMATION PROCESSING LETTERS, 2001, 79 (03) : 111 - 114
  • [28] Reformulating XPath queries and XSLT queries on XSLT views
    Groppe, S
    Böttcher, S
    Birkenheuer, G
    Höing, A
    DATA & KNOWLEDGE ENGINEERING, 2006, 57 (01) : 64 - 110
  • [29] An Indexing Method for Answering Queries on Moving Objects
    Khaled Elbassioni
    Amr Elmasry
    Ibrahim Kamel
    Distributed and Parallel Databases, 2005, 17 : 215 - 249
  • [30] Answering Why-Questions for Subgraph Queries
    Song, Qi
    Namaki, Mohammad Hossein
    Lin, Peng
    Wu, Yinghui
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (10) : 4636 - 4649