The Community for Technology Leaders
Green Image
Issue No. 11 - Nov. (2012 vol. 24)
ISSN: 1041-4347
pp: 2008-2024
Tok Wang Ling , National University of Singapore, Singapore
Dunren Che , Southern Illinois University, Carbondale
Wen-Chi Hou , Southern Illinois University, Carbondale
ABSTRACT
Twig pattern matching is a critical operation for XML query processing, and the holistic computing approach has shown superior performance over other methods. Since Bruno et al. introduced the first holistic twig join algorithm, TwigStack, numerous so-called holistic twig join algorithms have been proposed. Yet practical XML queries often require support for more general twig patterns, such as the ones that allow arbitrary occurrences of an arbitrary number of logical connectives (AND, OR, and NOT); such types of twigs are referred to as B-twigs (i.e., Boolean-Twigs) or AND/OR/NOT-twigs. We have seen interesting work on generalizing the holistic twig join approach to AND/OR-twigs and AND/NOT-twigs, but have not seen any further effort addressing the problem of AND/OR/NOT-Twigs at the full scale, which therefore forms the main theme of this paper. In this paper, we investigate novel mechanisms for efficient B-twig pattern matching. In particular, we introduce “B-twig normalization” as an important first-step in our approach toward eventually conquering the complexity of B-twigs, and then present BTwigMerge—the first holistic twig join algorithm designed for B-twigs. Both analytical and experimental results show that BTwigMerge is optimal for B-twig patterns with AD (Ancestor-Descendant) edges and/or PC (Parent-Child) edges.
INDEX TERMS
XML, Pattern matching, Anodes, Algorithm design and analysis, Complexity theory, Query processing, logical predicate., Query processing, database management, XML data querying, twig join, boolean twig
CITATION
Tok Wang Ling, Dunren Che, Wen-Chi Hou, "Holistic Boolean-Twig Pattern Matching for Efficient XML Query Processing", IEEE Transactions on Knowledge & Data Engineering, vol. 24, no. , pp. 2008-2024, Nov. 2012, doi:10.1109/TKDE.2011.128
97 ms
(Ver 3.1 (10032016))