|
| This Article | ||
| ||
| Share | ||
| Bibliographic References | ||
| Add to: | ||
| | ||
| Search | ||
| ||
Processing and Evaluating Partial Tree Pattern Queries on XML Data
Dec. 2012 (vol. 24 no. 12)
pp. 2244-2259
| ASCII Text | x | ||
| Xiaoying Wu, Stefanos Souldatos, Dimitri Theodoratos, Theodore Dalamagas, Yannis Vassiliou, Timos Sellis, "Processing and Evaluating Partial Tree Pattern Queries on XML Data," IEEE Transactions on Knowledge and Data Engineering, vol. 24, no. 12, pp. 2244-2259, Dec., 2012. | |||
| BibTex | x | ||
| @article{ 10.1109/TKDE.2011.137, author = {Xiaoying Wu and Stefanos Souldatos and Dimitri Theodoratos and Theodore Dalamagas and Yannis Vassiliou and Timos Sellis}, title = {Processing and Evaluating Partial Tree Pattern Queries on XML Data}, journal ={IEEE Transactions on Knowledge and Data Engineering}, volume = {24}, number = {12}, issn = {1041-4347}, year = {2012}, pages = {2244-2259}, doi = {http://doi.ieeecomputersociety.org/10.1109/TKDE.2011.137}, publisher = {IEEE Computer Society}, address = {Los Alamitos, CA, USA}, } | |||
| RefWorks Procite/RefMan/Endnote | x | ||
| TY - JOUR JO - IEEE Transactions on Knowledge and Data Engineering TI - Processing and Evaluating Partial Tree Pattern Queries on XML Data IS - 12 SN - 1041-4347 SP2244 EP2259 EPD - 2244-2259 A1 - Xiaoying Wu, A1 - Stefanos Souldatos, A1 - Dimitri Theodoratos, A1 - Theodore Dalamagas, A1 - Yannis Vassiliou, A1 - Timos Sellis, PY - 2012 KW - XML KW - Algorithm design and analysis KW - Database languages KW - Query processing KW - Polynomials KW - Semantics KW - Data models KW - partial tree-pattern query KW - XML query processing KW - XPath query evaluation KW - tree-pattern query VL - 24 JA - IEEE Transactions on Knowledge and Data Engineering ER - | |||
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TKDE.2011.137
Web Extra: View Supplemental Material(PDF)
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.
Index Terms:
XML,Algorithm design and analysis,Database languages,Query processing,Polynomials,Semantics,Data models,partial tree-pattern query,XML query processing,XPath query evaluation,tree-pattern query
Citation:
Xiaoying Wu, Stefanos Souldatos, Dimitri Theodoratos, Theodore Dalamagas, Yannis Vassiliou, Timos Sellis, "Processing and Evaluating Partial Tree Pattern Queries on XML Data," IEEE Transactions on Knowledge and Data Engineering, vol. 24, no. 12, pp. 2244-2259, Dec. 2012, doi:10.1109/TKDE.2011.137
Usage of this product signifies your acceptance of the Terms of Use.

