DocumentCode :
2860060
Title :
A Fast Tree Pattern Matching Algorithm for XML Query
Author :
Yao, J.T. ; Zhang, M.
Author_Institution :
University of Regina, Canada
fYear :
2004
fDate :
20-24 Sept. 2004
Firstpage :
235
Lastpage :
241
Abstract :
Finding all distinct matchings of the query tree pattern is the core operation of XML query evaluation. The existing methods for tree pattern matching are decomposition-matching-merging processes, which may produce large useless intermediate result or require repeated matching of some sub-patterns. We propose a fast tree pattern matching algorithm called TreeMatch to directly £nd all distinct matchings of a query tree pattern. The only requirement for the data source is that the matching elements of the non-leaf pattern nodes do not contain sub-elements with the same tag. The TreeMatch does not produce any intermediate results and the £nal results are compactly encoded in stacks, from which the explicit representation can be produced ef£ciently.
Keywords :
Computer science; Data mining; Database languages; Internet; Lifting equipment; Merging; Pattern matching; Query processing; Relational databases; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Web Intelligence, 2004. WI 2004. Proceedings. IEEE/WIC/ACM International Conference on
Print_ISBN :
0-7695-2100-2
Type :
conf
DOI :
10.1109/WI.2004.10048
Filename :
1410809
Link To Document :
بازگشت