Skip to main content

Semantic Transformation Approach with Schema Constraints for XPath Query Axes

  • Conference paper
Web Information Systems Engineering – WISE 2010 (WISE 2010)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 6488))

Included in the following conference series:

Abstract

XPath queries are essentially composed of a succession of axes defining the navigation from a current context node. Among the XPath query axes family, child, descendant, parent can be optionally specified using the path notations {/,//,..} which have been commonly used. Axes such as following-sibling and preceding-sibling have unique functionalities which provide different required information that cannot be achieved by others. However, XPath query optimization using schema constraints does not yet consider these axes family.

The performance of queries denoting the same result by means of different axes may significantly differ. The difference in performance can be affected by some axes, but this can be avoided. In this paper, we propose a semantic transformation typology and algorithms that transform XPath queries using axes, with no optional path operators, into semantic equivalent XPath queries in the presence of an XML schema. The goal of the transformation is to replace whenever possible the axes that unnecessarily impact upon performance. We show how, by using our semantic transformation, the accessing of the database using such queries can be avoided in order to boost performance. We implement the proposed algorithms and empirically evaluate their efficiency and effectiveness as semantic query optimization devices.

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 89.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berglund, A., Boag, S., Chamberlin, D., Fernándezark, M., Kay, M., Robie, J., Siméon, J.: Axes in XML Path Language, XPath 2.0 (2007), http://www.w3.org/TR/xpath20/#axes

  2. Biron, P., Permanente, K., Malhotra, A.: XML Schema Part 2: Datatypes, 2nd edn. (2004), http://www.w3.org/TR/xmlschema-0/

  3. Chan, Y., Fan, W., Zeng, Y.: Taming XPath Queries by Minimizing Wildcard Steps. In: Proceedings of the Thirtieth International Conference on Very Large Data Bases, pp. 156–167 (2004)

    Google Scholar 

  4. Che, D., Aberer, K., Özsu, M.T.: Query optimization in XML structured-document databases. The VLDB Journal The International Journal on Very Large Data Bases 15(3), 263–289 (2006)

    Article  Google Scholar 

  5. Clark, J., DeRose, S.: XML Path Language, XPath 1.0 (1999), http://www.w3.org/TR/xpath20/#axes

  6. Le, D., Bressan, S., Taniar, D., Rahayu, W.: Semantic XPath Query Transformation: Opportunities and Performance. In: Kotagiri, R., Radha Krishna, P., Mohania, M., Nantajeewarawat, E. (eds.) DASFAA 2007. LNCS, vol. 4443, pp. 994–1000. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  7. Le, D., Bressan, S., Taniar, D., Rahayu, W.: A Utilization of Schema Constraints to Transform Predicates in XPath Query. In: Bringas, P.G., Hameurlain, A., Quirchmayr, G. (eds.) DEXA 2010. LNCS, vol. 6261, pp. 331–339. Springer, Heidelberg (2010) (in press)

    Chapter  Google Scholar 

  8. Le, D.X.T., Pardede, E.: Towards Performance Efficiency in Safe XML Update. In: Benatallah, B., Casati, F., Georgakopoulos, D., Bartolini, C., Sadiq, W., Godart, C. (eds.) WISE 2007. LNCS, vol. 4831, pp. 563–572. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  9. Le, D., Pardede, E.: On Using Semantic Transformation Algorithms for XML Safe Update. In: 8 th International Conference on Information Systems Technology and its Applications, ISTA 2009, pp. 367–378 (2009)

    Google Scholar 

  10. Groppe, S., Groppe, J.: A Prototype of a Schema-Based XPath Satisfiability Tester. In: Bressan, S., Küng, J., Wagner, R. (eds.) DEXA 2006. LNCS, vol. 4080, pp. 93–103. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  11. Groppe, J., Groppe, S.: Satisfiability-Test, Rewriting and Refinement of Users’ XPath Queries According to XML Schema Definitions. In: Manolopoulos, Y., Pokorný, J., Sellis, T.K. (eds.) ADBIS 2006. LNCS, vol. 4152, pp. 22–38. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  12. Groppe, J., Groppe, S.: Filtering Unsatisfiable XPATH Queries. In: Proc. of the 8th Intl. Conf. on Enterprise Information Systems: Databases & Information Syst Integration, ICEIS 2006, vol. (2), pp. 157–162 (2006)

    Google Scholar 

  13. Gupta, K.A., Suciu, D.: Stream Processing of XPath Queries with Predicates. In: Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, pp. 419–430 (2003)

    Google Scholar 

  14. Su, H., Murali, M., Rundensteiner, E.: Semantic Query Optimization in an Automata Algebra Combined XQuery Engine over XML Streams. In: Proceedings of the 30th Very Large Data Bases (VLDB) Conference, Toronto, Canada, pp. 1293–1296 (2004)

    Google Scholar 

  15. Su, H., Rundensteiner, E., Mani, M.: Semantic Query Optimization for XQuery over XML Streams. In: Proceedings of the 31st Intl Conference on Very Large Data Bases (VLDB), pp. 277–282 (2005)

    Google Scholar 

  16. Wang, G., Liu, M., Yu, J.: Effective Schema-Based XML Query Optimization Techniques. In: Proceedings of the 7th Intl Database Engineering and Application Symposium (IDEAS), pp. 1–6 (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Le, D.X.T., Bressan, S., Pardede, E., Rahayu, W., Taniar, D. (2010). Semantic Transformation Approach with Schema Constraints for XPath Query Axes. In: Chen, L., Triantafillou, P., Suel, T. (eds) Web Information Systems Engineering – WISE 2010. WISE 2010. Lecture Notes in Computer Science, vol 6488. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-17616-6_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-17616-6_41

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-17615-9

  • Online ISBN: 978-3-642-17616-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics