Advertisement

Efficient XPath Evaluation

  • Bing Wang
  • Ling Feng
  • Yun Shen
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3631)

Abstract

Inspired by the best querying performance of ViST among the rest of the approaches in the literature, and meanwhile to overcome its shortcomings, in this paper, we present another efficient and novel geometric sequence mechanism, which transforms XML documents and XPath queries into the corresponding geometric data/query sequences. XML querying is thus converted to finding non-contiguous geometric subsequence matches. Our approach ensures correct (i.e., without semantic false) and fast (i.e., without the costly post-processing phase) evaluation of XPath queries, while at the same time guaranteeing the linear space complexity. We demonstrate the significant performance improvement of our approach through a set of experiments on both synthetic and real-life data.

Keywords

Query Sequence XPath Query Query Length Subsequence Match Geometric Sequence 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Aho, A.V., Hopcroft, J.E., Ullman, J.D.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading (1974)zbMATHGoogle Scholar
  2. 2.
    Busse, R., Carey, M., Florescu, D., Kersten, M., Manolescu, I., Schmidt, A., Florian Waas, F.: Xmark an xml benchmark project (2001), http://monetdb.cwi.nl/xml/index.html
  3. 3.
    Chien, S.Y., Tsotras, V.J., Zaniolo, C., Zhang, D.: Efficient complex query support for multiversion XML documents. In: Jensen, C.S., Jeffery, K., Pokorný, J., Šaltenis, S., Bertino, E., Böhm, K., Jarke, M. (eds.) EDBT 2002. LNCS, vol. 2287, pp. 161–178. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  4. 4.
    Cooper, B., Sample, N., Franklin, M.J., Hjaltason, G.R., Shadmon, M.: A fast index for semistructured data. In: The VLDB Conference, pp. 341–350 (2001)Google Scholar
  5. 5.
    Goldman, R., Widom, J.: Dataguides: Enabling query formulation and optimization in semistructured databases. In: VLDB, pp. 436–445. Springer, Heidelberg (1997)Google Scholar
  6. 6.
    Gottlob, G., Koch, C., Pichler, R.: The complexity of xpath query evaluation. In: PODS, pp. 179–190. ACM, New York (2003)Google Scholar
  7. 7.
    Grust, T.: Accelerating xpath location steps. In: SIGMOD, pp. 109–120. ACM Press, New York (2002)Google Scholar
  8. 8.
    Jiang, H., Lu, H., Wang, W.: Xr-tree: Indexing xml data for efficient structural joins. In: 19th International Conference on Data Engineering, pp. 253–264 (2003)Google Scholar
  9. 9.
    Ley, M.: Dblp bibliography (2004), http://www.informatik.uni-trier.de/~ley/db
  10. 10.
    Li, Q., Moon, B.: Indexing and querying XML data for regular path expressions. The VLDB Journal, 361–370 (2001)Google Scholar
  11. 11.
    Milo, T., Suciu, D.: Index structures for path expressions. In: Proceedings of the 8th International Conference on Database Theory, pp. 277–295 (1999)Google Scholar
  12. 12.
    Bruno, N., Koudas, N., Srivastava, D.: Holistic twig joins: Optimal xml pattern matching. In: ACM SIGMOD (2002)Google Scholar
  13. 13.
    Shen, Y., Feng, L., Shen, T., Wang, B.: A self-adaptive scope allocation scheme for labeling dynamic xml documents. In: Galindo, F., Takizawa, M., Traunmüller, R. (eds.) DEXA 2004. LNCS, vol. 3180, pp. 811–821. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  14. 14.
    Wang, H.: On the sequencing of tree structures for xml indexing (technical report) (2004), http://magna.cs.ucla.edu/~hxwang/publications/xmlrpt.pdf
  15. 15.
    Wang, H., Park, S., Fan, W., Yu, P.S.: Vist: a dynamic index method for querying xml data by tree structures. In: SIGMOD, pp. 110–121. ACM Press, New York (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Bing Wang
    • 1
  • Ling Feng
    • 2
  • Yun Shen
    • 1
  1. 1.Department of Computer ScienceUniversity of HullHullUnited Kingdom
  2. 2.Department of Computer ScienceUniversity of TwenteEnschedeThe Netherlands

Personalised recommendations