Abstract
A predicate in an XPath query expresses a condition to be fulfilled in addition to the structural constraint imposed by the path itself. The condition is a Boolean expression. It may involve comparisons between elements and values, path expressions denoting elements to be compared as well as further path expressions. In this paper, we are concerned with the semantic transformation of such predicates in the presence of a schema for the XML data. The goal of this semantic transformation is to eliminate the predicates from the XPath query if possible in order to avoid the early, unnecessary query processing. Otherwise, if predicates are retained, we show how they can be semantically transformed to boost efficiency and reduce resource utilization. An algorithm is proposed to determine whether predicates should be eliminated or retained. We implement the proposed transformations and empirically evaluate their efficiency and effectiveness as semantic query optimization devices.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Charkravarthy, U.S., Grant, J., Minker, J.: Logic–Based Approach to Semantic Query Optimization. ACM Transactions on Database Systems 15(2), 162–207 (1990)
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)
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)
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)
Le, D., Pardede, E.: On Using Semantic Transformation Algorithms for XML Safe Update. In: 8th International Conference on Information Systems Technology and its Applications, ISTA 2009, pp. 367–378 (2009)
Hammer, M., Jdondik, S.B.: Knowledge-based processing. In: Proceedings of the 6th Very Large Databases (VLDB) Conference, Montreal, pp. 137–146. IEEE, Los Alamitos (1980)
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)
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)
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, pp. 157–162 (2006)
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)
King, J.: Quist: A system for semantic query optimization in relational databases. In: Very Large Database (VLDB), pp. 510–517. IEEE Computer Society, Los Alamitos (1981)
Ramanan, P.: Efficient algorithms for minimizing tree pattern queries. In: Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data, pp. 299–309 (2002)
Shenoy, S.T., Ozsoyoglu, Z.M.: Design and Implementation of a Semantic Query Optimizer. IEEE Transactions on Knowledge and Data Engineering 1(3), 344–361 (1987)
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)
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)
Sun, W., Liu, D.: Using Ontologies for Semantic Query Optimization of XML Databases. In: Nayak, R., Zaki, M.J. (eds.) KDXD 2006. LNCS, vol. 3915, pp. 64–73. Springer, Heidelberg (2006)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Thi Le, D.X., Bressan, S., Pardede, E., Taniar, D., Rahayu, W. (2010). A Utilization of Schema Constraints to Transform Predicates in XPath Query. In: Bringas, P.G., Hameurlain, A., Quirchmayr, G. (eds) Database and Expert Systems Applications. DEXA 2010. Lecture Notes in Computer Science, vol 6261. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15364-8_28
Download citation
DOI: https://doi.org/10.1007/978-3-642-15364-8_28
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-15363-1
Online ISBN: 978-3-642-15364-8
eBook Packages: Computer ScienceComputer Science (R0)