AN EFFICIENT STREAMING ALGORITHM FOR EVALUATING XPATH QUERIES

Yangjun Chen

2008

Abstract

With the growing importance of XML in data exchange, much research has been done in providing flexible query mechanisms to extract data from XML documents. In this paper, we focus on the query evaluation in an XML streaming environment, in which data streams arrive continuously and queries have to be evaluated even before all the data of an XML document is available. We will propose an algorithm for this issue, working in O(|T|×Qleaf) time and O(|T|×Qleaf) space, where Tleaf stands for the number of the leaf nodes in a document tree T and Qleaf for the number of the leaf nodes in a query tree Q.

References

  1. I. Avila-Campillo, T.J. Green, A. Gupta, M. Onizuka, D. Raven, and D. Suciu (2002), XMLTK: An XML Toolkit for Scalable XML Stream Processing, in Programming Langauge Technologoes for XML(PLAN-X), 2002.
  2. D.D. Chamberlin, J.Clark, D. Florescu and M. Stefanescu (2002) XQuery1.0: An XML Query Language, http:/ /www.w3.org/TR/query-datamodel/.
  3. D.D. Chamberlin, J. Robie and D. Florescu (2000) Quilt: An XML Query Language for Heterogeneous Data Sources, WebDB 2000.
  4. Y. Chen, S.B. Davison, Y. Zheng (2006), An Efficient XPath Query Processor for XML Streams, in Proc. ICDE, Atlanta, USA, April 3-8, 2006.
  5. A. Dutch, M. Fernandez, D. Florescu, A. Levy, D. Suciu (1999), A Query Language for XML, in: Proc. 8th World Wide Web Conf., May 1999, pp. 77-91.
  6. C.M. Hoffmann and M.J. O'Donnell (1982), Pattern matching in trees, J. ACM, 29(1):68-95, 1982.
  7. Z.G. Ives, A.Y. Halevy, and D.S. Weld (2002), An XML query engine for network-bound data, VLDB Journal, 11(4), 2002.
  8. D.E. Knuth (1969), The Art of Computer Programming, Vol.1, Addison-Wesley, Reading, 1969.
  9. C. Koch, S. Scherzinger, N. Schweikardt, and B. Stegmaier (2004), Schema-based Scheduling of Event Processor and Buffer Minimization for Queries on Structured Data Stream, in: Proc. of VLDB, 2004.
  10. B. Ludascher, P. Mukhopadhayn, and Y. Papakonstantinou (2002), A Transducer-based XML Query Processor, in: Proc. of VLDB, 2002.
  11. F. Peng and S.S. Chawathe (2003), XPath queries on streaming data, in: Proc. of SIGMOD, 2003.
  12. F. Peng and S.S. Chawathe (2003), XSQ: A Streaming XPath Engine, Technical Report CS-TR-4493, University of Maryland, 2003.
  13. World Wide Web Consortium (2007). XML Path Language (XPath), W3C Recommendation, 2007. See http:// www.w3.org/TR/xpath20.
  14. World Wide Web Consortium (2005). XQuery 1.0: An XML Query Language, W3C Recommendation, Version 1.0, 2005. See http://www.w3.org/TR/xquery.
Download


Paper Citation


in Harvard Style

Chen Y. (2008). AN EFFICIENT STREAMING ALGORITHM FOR EVALUATING XPATH QUERIES . In Proceedings of the Fourth International Conference on Web Information Systems and Technologies - Volume 1: WEBIST, ISBN 978-989-8111-26-5, pages 190-196. DOI: 10.5220/0001531101900196


in Bibtex Style

@conference{webist08,
author={Yangjun Chen},
title={AN EFFICIENT STREAMING ALGORITHM FOR EVALUATING XPATH QUERIES},
booktitle={Proceedings of the Fourth International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,},
year={2008},
pages={190-196},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001531101900196},
isbn={978-989-8111-26-5},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Fourth International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,
TI - AN EFFICIENT STREAMING ALGORITHM FOR EVALUATING XPATH QUERIES
SN - 978-989-8111-26-5
AU - Chen Y.
PY - 2008
SP - 190
EP - 196
DO - 10.5220/0001531101900196