arrow
Return

Processing and Evaluating Partial Tree Pattern Queries on XML Data

delete2012-12-01
delete7
PRE
AI
X
Xiaoying Wu *
S
Stefanos Souldatos
D
Dimitri Theodoratos
T
Theodore Dalamagas
Y
Yannis Vassiliou
T
Timos Sellis
DOI:10.1109/TKDE.2011.137delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
XML query languages typically allow the specification of structural patterns using XPath. Usually, these structural patterns are in the form of trees (Tree-Pattern Queries-TPQs). Finding the occurrences of such patterns in an XML tree is a key operation in XML query evaluation. The multiple previous algorithms presented for this operation focus mainly on the evaluation of tree-pattern queries. Recently, requirements for flexible querying of XML data have motivated the consideration of query classes that are more expressive and flexible than TPQs for which efficient nonmain-memory evaluation algorithms are not known. In this paper, we consider a class of queries, called Partial Tree-Pattern Queries (PTPQs), which generalize and strictly contain TPQs. PTPQs represent a broad fragment of XPath which is very useful in practice. In order to process PTPQs, we introduce a set of sound and complete inference rules to characterize structural relationship derivation. We provide necessary and sufficient conditions for detecting query unsatisfiability and node redundancy. We also show that PTPQs can be represented as directed acyclic graphs augmented with the same-path constraints. In order to leverage existing efficient evaluation algorithms for less expressive classes of queries, we design two approaches that evaluate a PTPQ by decomposing it into a set of simpler queries: algorithm IndexTPQGen, exploits a structural summary of the XML data and evaluates a PTPQ by generating an equivalent set of TPQs and unioning their answers. Algorithm PartialPathJoin decomposes the PTPQ into partial-path queries, and merge-joins their solutions. We also develop PartialTreeStack, an original polynomial time holistic algorithm for PTPQs. To the best of our knowledge, this is the first algorithm to support the evaluation of such a broad structural fragment of XPath in the inverted lists evaluation model. We provide a theoretical analysis of our algorithm and identify cases where it is asymptotically optimal. An extensive experimental evaluation shows that it is more efficient, robust, and stable than the other two and it outperforms a state-of-the art XQuery engine on PTPQs.
Keywords:
XML query processing
XPath query evaluation
tree-pattern query
partial tree-pattern query
Efficient algorithms for descendant-only tree pattern queries
err2009-11-01
err8
PREAI
errGoetz, Michaela; Koch, Christoph; Martens, Wim
errShare
errSave
Optimizing XML queries: Bitmapped materialized views vs. indexes
err2013-09-01
err16
PREAI
errWu, Xiaoying; Theodoratos, Dimitri; Wang, Wendy Hui; Sellis, Timos
errShare
errSave
Systematic Partitioning and Labeling XML Subtrees for Efficient Processing of XML Queries in IoT Environments
err2020-01-01
err3
errOAAI
errAzzedin, Farag; Mohammed, Salahadin; Ghaleb, Mustafa; Yazdani, Jaweed; Ahmed, Adel
errShare
errSave
A Survey of XML Tree Patterns
err2013-01-01
err20
errOAAI
errHachicha, Marouane; Darmont, Jerome
errShare
errSave
Extended XML Tree Pattern Matching: Theories and Algorithms
err2011-03-01
err36
PREAI
errLu, Jiaheng; Ling, Tok Wang; Bao, Zhifeng; Wang, Chen
errShare
errSave
Scalable Filtering of Multiple Generalized-Tree-Pattern Queries over XML Streams
err2008-12-01
err12
PREAI
errChen, Songting; Li, Hua-Gang; Tatemura, Jun'ichi; Hsiung, Wang-Pin; Agrawal, Divyakant; Candan, K. Selcuk
errShare
errSave

Journal

IEEE Transactions on Knowledge and Data Engineering cover
IEEE Transactions on Knowledge and Data Engineering
IF:
10.4
Papers:
7.0K
Citations:
4.1W

Organization

N
New Jersey Institute of Technology
Scholars:
278
Papers: 161
Citations: 2.9K
wuhan university cover
wuhan university
Scholars:
7.3K
Papers: 2.2K
Citations: 4.9W
N
National Technical University of Athens
Scholars:
626
Papers: 221
Citations: 4.8K
researcher View more organizations
Cited Papers

Cited Papers

Barriers and drivers for adoption of energy efficient and environment friendly brick kiln technologies in Punjab, Pakistan
err2022-11-01
err0
errOAAI
errAkhtar Abbas; Muhammad Bilal Sajid; Nadia Shahzad; Emad Ud Din; Mariam Mahmood; Usman Salahuddin
errShare
errSave
errShare
errSave
Singularités des flots holomorphes. II
err1997-01-01
err0
errOAAI
errÉtienne Ghys; Julio C. Rebelo
errShare
errSave
Intercultural Language Teaching and Learning
err
IF0
err2013-02-18
err0
errOAAI
errAnthony J. Liddicoat; Angela Scarino
errShare
errSave
Terrace formation in the upper Bengal basin since the Middle Pleistocene: Brahmaputra fan delta construction during multiple highstands
err2017-03-19
err0
errOAAI
errJennifer L. Pickering; Steven L. Goodbred; Jeremiah C. Beam; John C. Ayers; Aaron K. Covey; Haresh M. Rajapara; Ashok K. Singhvi
errShare
errSave
In Vitro and in Silico Insights on the Biological Activities, Phenolic Compounds Composition of Hypericum perforatum L. Hairy Root Cultures
err2023-01-01
err0
errOAAI
errOliver Tusevski; Marija Todorovska; Jasmina Petreska Stanoeva; Marina Stefova; Sonja Gadzovska Simic
errShare
errSave
researcher View more