Skip to main content

Ordered and Generalized XML Tree Pattern Processing

  • Chapter
  • First Online:
An Introduction to XML Query Processing and Keyword Search
  • 1149 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 109.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 139.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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.

    Google Scholar 

  2. 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

    Google Scholar 

  3. Bruno, N., Koudas, N., Srivastava, D.: Holistic twig joins: optimal XML pattern matching. Technical Report, Columbia University (2002)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. Choi, B., Mahoui, M., Wood, D.: On the optimality of holistic algorithms for twig queries. In: DEXA, pp. 28–37 (2003)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. Lu, J.: Efficient processing of XML twig pattern matching. In: PhD thesis, National University of Singapore (2006)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. Shalem, M., Bar-Yossef, Z.: The space complexity of processing XML twig queries over indexed documents. In: ICDE, Cancun (2008)

    Google Scholar 

  18. Treebank.: http://www.cs.washington.edu/research/xmldatasets/www/repository.html

  19. Wang, F., Li, J., Homayounfar, H.: A space efficient XML DOM parser. Data Knowl. Eng. (DKE) 60(1), 185–207 (2007)

    Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics