A DTD Graph Based XPath Query Subsumption Test

  • Stefan Böttcher
  • Rita Steinmetz
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2824)


XPath expressions play a central role in querying for XML fragments. We present a containment test of two XPath queries which determines whether a new XPath query XP1 can reuse a previous query result XP2. The key idea is to transform XP1 into a graph which is used to search for sequences of elements which are used in the XPath query XP2.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Böttcher, S., Steinmetz, R.: Testing Containment of XPath Expressions in order to Reduce the Data Transfer to Mobile Clients. In: Kalinichenko, L.A., Manthey, R., Thalheim, B., Wloka, U. (eds.) ADBIS 2003. LNCS, vol. 2798, pp. 400–415. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  2. 2.
    Böttcher, S., Türling, A.: XML Fragment Caching for Small Mobile Internet Devices. In: Chaudhri, A.B., Jeckle, M., Rahm, E., Unland, R. (eds.) NODe-WS 2002. LNCS, vol. 2593, pp. 268–279. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  3. 3.
    Böttcher, S., Türling, A.: Transaction Validation for XML Documents based on XPath. In: Mobile Databases and Information Systems. Workshop der GIJahrestagung, Dortmund. LNI-Proceedings, p. 19. Springer, Heidelberg (2002)Google Scholar
  4. 4.
    Böttcher, S., Türling, A.: Checking XPath Expressions for Synchronization, Access Control and Reuse of Query Results on Mobile Clients. In: Proc. of the Workshop: Database Mechanisms for Mobile Applications, Karlsruhe. Springer LNI, Heidelberg (2003)Google Scholar
  5. 5.
    Calvanese, D., Giacomo, G.D., Lenzerini, M., Vardi, M.Y.: View- Based Query Answering and Query Containment over Semistructured Data. In: Ghelli, G., Grahne, G. (eds.) DBPL 2001. LNCS, vol. 2397, pp. 40–61. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  6. 6.
    Deutsch, A., Tannen, V.: Containment and Integrity Constraints for XPath. In: KRDB (2001)Google Scholar
  7. 7.
    Diao, Y., Franklin, M.J.: High-Performance XML Filtering: An Overview of YFilter. IEEE Data Engineering Bulletin (March 2003)Google Scholar
  8. 8.
    Florescu, D., Levy, A.Y., Suciu, D.: Query Containment for Conjunctive Queries with Regular Expressions. In: PODS 1998, pp. 139–148 (1998)Google Scholar
  9. 9.
    Miklau, G., Suciu, D.: Containment and Equivalence for an XPath Fragment. In: PODS 2002, pp. 65-76 (2002)Google Scholar
  10. 10.
    Neven, F., Schwentick, T.: XPath Containment in the Presence of Disjunction, DTDs, and Variables. In: Calvanese, D., Lenzerini, M., Motwani, R. (eds.) ICDT 2003. LNCS, vol. 2572, pp. 315–329. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  11. 11.
    Wood, P.T.: Containment for XPath Fragments under DTD Constraints. In: Calvanese, D., Lenzerini, M., Motwani, R. (eds.) ICDT 2003. LNCS, vol. 2572, pp. 300–314. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  12. 12.
    XML Path Language (XPath) Version 1.0 . W3C Recommendation (November 1999), http://www.w3.org/TR/xpath

Copyright information

© Springer-Verlag Berlin Heidelberg 2003

Authors and Affiliations

  • Stefan Böttcher
    • 1
  • Rita Steinmetz
    • 1
  1. 1.Faculty 5, Computer Science, Electrical Engineering & MathematicsUniversity of PaderbornPaderbornGermany

Personalised recommendations