Abstract
Although holistic twig join approach algorithm has been proven an efficient way to match twig pattern, it cannot deal with some special patterns efficiently such as ordered XML tree pattern, generalized tree pattern, and extended XML tree pattern. Ordered XML twig query means a twig query which cares the order of the matching elements. In this chapter, we propose a holistic-processing algorithm called OrderedTJ to guarantee the I/O optimality. Generalized tree pattern is modeled by XQuery statements with multiple path expressions, and we introduce GTJFast to process this kind of patterns to reduce the I/O cost. Finally, extended XML tree pattern includes not only P-C/A-D relationships but also negation functions, wildcards, and order restriction. We also show holistic algorithms to efficiently process such patterns in details.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Berglund, A., Boag, S., Chamberlin, D., Fernandez, M.F., Kay, M., Robie, J., Simeon, J.: XML path language (XPath) 2.0 W3C working draft 16, Technical Report WDxpath20-20020816, World Wide Web Consortium, August 2002. http://www.w3.org/TR/xpath20N.
Boag, S., Chamberlin, D., Fernandez, M.F., Florescu, D., Robie, J., Simeon, J.: XQuery 1.0: an XML query language. W3C Recommendation 23 Jan 2007
Bruno, N., Koudas, N., Srivastava, D.: Holistic twig joins: optimal XML pattern matching. Technical Report, Columbia University (2002)
Chen, T., Lu, J., Ling, T.W.: On boosting holism in XML twig pattern matching using structural indexing techniques. In: Proceeding of the ACM SIGMOD International Conference on Management of Data, Baltimore (2005)
Chen, S., Li, H., Tatemura, J., Hsiung, W., Agrawal, D., Candan, K.S.: Twig2Stack: bottom-up processing of generalized-tree-pattern queries over XML documents. In: Proceedings of the 32nd International Conference on Very Large Data Bases, Seoul, pp. 283–294 (2006)
Choi, B., Mahoui, M., Wood, D.: On the optimality of holistic algorithms for twig queries. In: DEXA, pp. 28–37 (2003)
Chien, S., Vagena, Z., Zhang, D., Tsotras, V.J., Zaniolo, C.: Efficient structural joins on indexed XML documents. In: Proceeding of VLDB, Hong Kong, pp. 263–274 (2002)
Jiang, H., Lu, H., Wang, W.: Efficient processing of XML twig queries with OR-predicates. In: Proceeding of the SIGMOD, Paris, pp. 59–70 (2004)
Jiang, H., Wang, W., Lu, H., Yu, J.X.: Holistic twig joins on indexed XML documents. In: Proceedings of 29th International Conference on Very Large Data Bases, Berlin, pp. 273–284 (2003)
Lu, J., Chen, T., Ling, T.W.: Efficient processing of XML twig patterns with parent child edges: a look-ahead approach. In: CIKM, Washington, DC, pp. 533–542 (2004)
Lu, J., Chen, T., Ling, T.W.: TJFast: effective processing of XML twig pattern matching. In: Proceedings of the WWW (Special interest tracks and posters), Chiba, pp. 1118–1119 (2005)
Lu, J., Ling, T.W., Bao, Z., Wang, C.: Extended XML tree pattern matching: theories and algorithms. IEEE Trans. Knowl. Data Eng. (TKDE) 23(3), 402–416 (2011)
Lu, J., Ling, T.W., Chan, C., Chen, T.: From region encoding to extended Dewey: on efficient processing of XML twig pattern matching. In: Proceedings of 31th International Conference on Very Large Data Bases (VLDB), Trondheim, pp. 193–204 (2005)
Lu, J., Ling, T.W., Yu, T., Li, C., Ni, W.: Efficient processing of ordered XML twig pattern matching. In: DEXA, Copenhagen, pp. 300–309 (2005)
Lu, J.: Efficient processing of XML twig pattern matching. In: PhD thesis, National University of Singapore (2006)
Qin, L., Yu, J.X., Ding, B.: TwigList: make twig pattern matching fast. In: Proceedings of the 12th International Conference on Database Systems for Advanced Applications, DASFAA 2007, Bangkok, pp. 850–862 (2007)
Shalem, M., Bar-Yossef, Z.: The space complexity of processing XML twig queries over indexed documents. In: ICDE, Cancun (2008)
Treebank.: http://www.cs.washington.edu/research/xmldatasets/www/repository.html
Wang, F., Li, J., Homayounfar, H.: A space efficient XML DOM parser. Data Knowl. Eng. (DKE) 60(1), 185–207 (2007)
Yu, T., Ling, T.W., Lu, J.: Twigstacklistnot: a holistic twig join algorithm for twig query with not-predicates on XML data. In: DASFAA, Singapore, pp. 249–263 (2006)
Zhang, C., Naughton, J.F., Dewitt, D.J., Luo, Q., Lohman, G.M.: On supporting containment queries in relational database management systems. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, Santa Barbara, pp. 425–436 (2001)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Tsinghua University Press, Beijing and Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Lu, J. (2013). Ordered and Generalized XML Tree Pattern Processing. In: An Introduction to XML Query Processing and Keyword Search. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-34555-5_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-34555-5_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-34554-8
Online ISBN: 978-3-642-34555-5
eBook Packages: Computer Science