Skip to main content

Efficient Processing of XPath Queries Using Indexes

  • Conference paper
  • First Online:
Database and Expert Systems Applications (DEXA 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2453))

Included in the following conference series:

  • 1417 Accesses

Abstract

A number of query languages have been proposed in recent times for processing queries on XML and semistructured data. All these query languages make use of regular path expressions to query XML data. To optimize the processing of query paths a number of indexing schemes have also been proposed recently. XPath provides the basis for processing queries on XML data in the form of regular path expressions. In this paper, we propose two algorithms called Entry-point algorithm and Rest-tree algorithm that exploit different types of indexes, which we have defined to efficiently process XPath queries. We also discuss and compare two variations in implementing these algorithms; Root-first and Bottom-first.

Partially supported by UM Research Board Grant and Intelligent Systems Center.

Partially supported by NSERC grant 228127-01 and an internal LURF grant.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Abiteboul, S., Quass, D., McHugh, J., Widom, J., Wiener, J.L. The Lorel Query Language for Semistructured Data, International Journal on Digital Libraries. 1(1) (April 1997), pp. 68–88

    Article  Google Scholar 

  2. Biron, P.V., Malhotra, A. (eds.). XML Schema Part 2: Datatypes W3C Recommendation, (May 2, 2001), http://www.w3.org/TR/xmlschema-2/.

  3. Ceri, S., Comai, S., Damiani, E., Fraternali, P., Paraboschi, S., Tanca, L. XML-GL: A Graphical Language for Querying and Restructuring XML Documents, In Proceedings of the 8th International World Wide Web Conference. Toronto, Canada (May 1999), pp. 93–109.

    Google Scholar 

  4. Chamberlin, D., Clark, J., Florescu, D., Robie, J., Siméon, J., Stefanescu, M.: Xquery 1.0: An XML Query Language. W3C Working Draft (20 December 2001).

    Google Scholar 

  5. Chamberlin, D., Robie, J., Florescu, J., Quilt: An XML Query Language for Heterogeneous Data Sources. In: International Workshop on the Web and Databases (WebDB) Dallas, TX (May 2000).

    Google Scholar 

  6. Berglund, A., Boag, S., Chamberlin, D., Fernandez, M.F., Kay, M., Robie, J., Siméon, J.: XML Path language (XPath) 2.0, W3C Working Draft, (20 December, 2001).

    Google Scholar 

  7. Deutsch, A., Fernandez, M., Florescu, D., Levy, A., Suciu, D., A Qquery Language for XML. In: Proceedings of the 8th International World Wide Web Conference, Toronto, Canada (May 1999), pp. 77–91.

    Google Scholar 

  8. Goldman, R., Widom, J.: DataGuides: Enabling Query Formulation and Optimization in Semistructured Database. In: Proceedings of the Twenty-third International Conference on Very Large Data Bases. Athens, Greece (August 1997), pp. 436–445.

    Google Scholar 

  9. Li, Q., Moon, B. Indexing and Querying XML Data for Regular Path Expressions, In Proceedings of the 27th VLDB Conference, Roma, Italy (2001).

    Google Scholar 

  10. McHugh, J., Abiteboul, S., Goldman, R., Quass, D., Widom, J. Lore: A Database Management System for Semi-structured Data, SIGMQD Record, 26(3) (1997), pp. 54–66.

    Article  Google Scholar 

  11. McHugh, J., Widom, J., Abiteboul, S., Luo, Q., Rajaraman, A. Indexing Semistructured Data. Technical Report, Stanford University, Stanford, CA (February 1998).

    Google Scholar 

  12. Milo, T., Suciu, D., Index Structures for Path Expressions, In Proceedings of the International Conference on Database Theory (1999), pp. 277–295.

    Google Scholar 

  13. Rizzolo, F., Mendelzon, A. Indexing XML Data with ToXin. Fourth International Workshop on the Web and Databases (in conjunction with ACM SIGMOD 2001), Santa Barbara, CA (May 2001).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chen, Y., Madria, S., Passi, K., Bhowmick, S. (2002). Efficient Processing of XPath Queries Using Indexes. In: Hameurlain, A., Cicchetti, R., Traunmüller, R. (eds) Database and Expert Systems Applications. DEXA 2002. Lecture Notes in Computer Science, vol 2453. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46146-9_71

Download citation

  • DOI: https://doi.org/10.1007/3-540-46146-9_71

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44126-7

  • Online ISBN: 978-3-540-46146-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics