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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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
Biron, P.V., Malhotra, A. (eds.). XML Schema Part 2: Datatypes W3C Recommendation, (May 2, 2001), http://www.w3.org/TR/xmlschema-2/.
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.
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).
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).
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).
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.
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.
Li, Q., Moon, B. Indexing and Querying XML Data for Regular Path Expressions, In Proceedings of the 27th VLDB Conference, Roma, Italy (2001).
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.
McHugh, J., Widom, J., Abiteboul, S., Luo, Q., Rajaraman, A. Indexing Semistructured Data. Technical Report, Stanford University, Stanford, CA (February 1998).
Milo, T., Suciu, D., Index Structures for Path Expressions, In Proceedings of the International Conference on Database Theory (1999), pp. 277–295.
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).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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