Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/11591
Title: Incremental XPath Evaluation
Authors: Bjorklund, Henrik
GELADE, Wouter 
MARTENS, Wim 
Issue Date: 2010
Publisher: ASSOC COMPUTING MACHINERY
Source: ACM TRANSACTIONS ON DATABASE SYSTEMS, 35(4)
Abstract: Incremental view maintenance for XPath queries asks to maintain a materialized XPath view over an XML database. It assumes an underlying XML database D and a query Q. One is given a sequence of updates U to D, and the problem is to compute the result of Q(U(D)): the result of evaluating query Q on database D after having applied updates U. This article initiates a systematic study of the Boolean version of this problem. In the Boolean version, one only wants to know whether Q(U(D)) is empty or not. In order to quickly answer this question, we are allowed to maintain an auxiliary data structure. The complexity of the maintenance algorithms is measured in, (1) the size of the auxiliary data structure, (2) the worst-case time per update needed to compute Q(U(D)), and (3) the worst-case time per update needed to bring the auxiliary data structure up to date. We allow three kinds of updates: node insertion, node deletion, and node relabeling. Our main results are that downward XPath queries can be incrementally maintained in time O(depth(D) . poly(vertical bar Q vertical bar)) per update and conjunctive forward XPath queries in time O(depth(D) . log(width(D)) . poly(vertical bar Q vertical bar)) per update, where vertical bar Q vertical bar is the size of the query, and depth(D) and width(D) are the nesting depth and maximum number of siblings in database D, respectively. The auxiliary data structures for maintenance are linear in vertical bar D vertical bar and polynomial in vertical bar Q vertical bar in all these cases.
Notes: [Bjorklund, Henrik] Umea Univ, Dept Comp Sci, S-90187 Umea, Sweden. [Gelade, Wouter] Hasselt Univ, B-3590 Diepenbeek, Belgium. [Gelade, Wouter] Transnatl Univ Limburg, B-3590 Diepenbeek, Belgium. [Martens, Wim] Tech Univ Dortmund, Fak Informat, D-44227 Dortmund, Germany.
Keywords: Algorithms; Design; Languages; Standardization; Theory; XML; XPath; view maintenance
Document URI: http://hdl.handle.net/1942/11591
ISSN: 0362-5915
e-ISSN: 1557-4644
DOI: 10.1145/1862919.1862926
ISI #: 000285294300007
Category: A1
Type: Journal Contribution
Validations: ecoom 2012
Appears in Collections:Research publications

Show full item record

SCOPUSTM   
Citations

9
checked on Sep 2, 2020

WEB OF SCIENCETM
Citations

7
checked on Apr 14, 2024

Page view(s)

64
checked on May 30, 2023

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.