Minimization of XML Tree Pattern Queries under DTD Constraints.

王梅娟,庞引明,谈子敬
DOI: https://doi.org/10.3778/j.issn.1002-8331.2009.23.040
2009-01-01
Computer Engineering and Applications Journal
Abstract:Many XML query languages use tree patterns to navigate an XML document and select a set of element nodes.Since the efficiency of tree pattern matching against an XML tree-structured database depends on the size of the pattern,it is essential to identify and eliminate redundant nodes in the pattern and do so as quickly as possible.This paper studies tree pattern minimization in the presence of DTD.The SC to ESC that can express descendant relationships under DTD constraints is extend. This paper shows that minimization of tree pattern queries contain {ESC,/,//,[],*} is EXPTIME,and,in particular,when tree pattern branches are limited,queries are PTIME.At last provide an algorithm for minimization of limited branched tree patterns and analyze its complexity.
What problem does this paper attempt to address?