期刊文献+

HCH for Checking Containment of XPath Fragment

HCH for Checking Containment of XPath Fragment
原文传递
导出
摘要 XPath is ubiquitous in XML applications for navigating XML trees and selecting a set of element nodes. In XPath query processing, one of the most important issues is how to efficiently check containment relationship between two XPath expressions. To get out of the intricacy and complexity caused by numerous XPath features, we investigate this issue on a frequently used fragment of XPath expressions that consists of node tests, the child axis (/), the descendant axis (//), branches ([]) and label wildcards (*). Prior work has shown that homomorphism technology can be used for containment checking. However, homomorphism is the sufficient but not necessary condition for containment. For special classes of this fragment, the homomorphism algorithm returns false negatives. To address this problem, this paper proposes two containment techniques, conditioned homomorphism and hidden conditioned homomorphism, and then presents sound algorithms for checking containment. Experimental results confirm the practicability and efficiency of the proposed algorithms. XPath is ubiquitous in XML applications for navigating XML trees and selecting a set of element nodes. In XPath query processing, one of the most important issues is how to efficiently check containment relationship between two XPath expressions. To get out of the intricacy and complexity caused by numerous XPath features, we investigate this issue on a frequently used fragment of XPath expressions that consists of node tests, the child axis (/), the descendant axis (//), branches ([]) and label wildcards (*). Prior work has shown that homomorphism technology can be used for containment checking. However, homomorphism is the sufficient but not necessary condition for containment. For special classes of this fragment, the homomorphism algorithm returns false negatives. To address this problem, this paper proposes two containment techniques, conditioned homomorphism and hidden conditioned homomorphism, and then presents sound algorithms for checking containment. Experimental results confirm the practicability and efficiency of the proposed algorithms.
出处 《Journal of Computer Science & Technology》 SCIE EI CSCD 2007年第5期736-748,共13页 计算机科学技术学报(英文版)
基金 This work is in part.supported by the National Natural Science Foundation of China under Grant No.60573094 National Grand Fundamental Research 973 Program of China under Grant No.2006CB303103 National High Technology Development 863 Program of China under Grant No.2006AA01A101 Tsinghua Basic Research Foundation under Grant No.JCqn2005022.
关键词 computer software query containment conditioned homomorphism tree pattern XML XPATH computer software, query containment, conditioned homomorphism, tree pattern, XML, XPath
  • 相关文献

参考文献20

  • 1James Clark, Steve DeRose. XML path language (XPath), version 1.0. W3C Recommendation, http://www.w3.org/TR/xpath.
  • 2Scott Boag, Don Chamberlin et al. XQuery 1.0: An XML query language. W3C Candidate Recommendation. http://www.w3.org/TR/xquery.
  • 3Steven DeRose, Eve Maler et al. XML linking language (XLink), version 1.0. W3C Recommendation, http://www.w3.org/TR/xlink.
  • 4Steven DeRose, Ron Daniel Jr. et al. XML pointer language (XPointer). W3C Working draft, http://www. w3.org/TR/xptr.
  • 5James Clark. XSL transformations (XSLT), version 1.0. W3C Recommendation, http://www.w3.org/TR/xslt.
  • 6Gerome Miklau, Dan Suciu. Containment and equivalence for a fragment of XPath. Journal of the ACM, 2004, 51(1): 2-45.
  • 7Thomas Schwentick. XPath query containment. ACM SIGMOD Record, 2004, 33(1): 101-109.
  • 8Ashok K Chandra, Philip M Merlin. Optimal implementation of conjunctive queries in relational data bases. In Proc. the 9th ACM Symposium on Theory of Computing, Boulder, Colorado, USA, May 4-4, 1977, pp.77-90.
  • 9Peter Buneman, Susan Davidson et al. Reasoning about keys for XML. In Proc.the 8th Int. Workshop on Database Programming Languages ( DBPL), Kinloch Rannoch, Scotland, Sept. 1-3, 1999, pp.133-148.
  • 10Tova Milo, Dan Suciu T. Index structures for path expressions. In Proc. the 7th Int. Conference on Database Theory (ICDT), Jerusalem, Israel, Jan. 10-12, 1999, pp.277-295.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部