期刊文献+

一种高效处理不完全结构约束的Twig查询方法

原文传递
导出
摘要 越来越多的网络数据都以XML格式表示和存储,开发高效的查询处理算法以便从带有层次结构的XML文档中提取满足条件的数据是一个必须解决的问题.从XML文档中提取信息时,通常使用已有XML查询语言的核心组件—Twig查询—来表达查询语义.Twig查询的一个固有特点是其中的查询节点之间具有特定的先序关系,正是这一特点使其在很多情况下变得难以使用,从而不得不通过放宽Twig查询的约束条件来表达更灵活的语义.文中主要解决"不完全结构约束的查询(PSTP查询)"的处理问题.提出一种扩展的XPath语法,通过引入Samepath轴,可以以一种简单有效的方式表达灵活的查询语义;提出一种基于扩展XPath语法的查询处理算法pTwigStack,可以高效处理PSTP查询,从而避免分别处理PSTP查询对应的每个Twig查询所导致的性能下降问题;提出两种基于DTD schema的优化方法,用以改进pTwigStack算法的处理性能.不同数据集上的实验结果表明,pTwigStack算法在处理PSTP查询时,综合性能明显优于已有方法.
出处 《中国科学(F辑:信息科学)》 CSCD 2009年第10期1034-1049,共16页
基金 国家自然科学基金(批准号:60833005) 国家高技术研究发展计划(批准号:2007AA01Z155,2009AA011904) 国家重点基础研究发展计划(批准号:2003CB317000)资助项目
  • 相关文献

参考文献23

  • 1Sihem A Y,Cho S R,Srivastava D.Tree pattern relaxation. Proceedings of 8th International Conference on Extending Database Technology . 2002
  • 2Tatarinov I,Viglas S,Beyer K S,et al.Storing and querying ordered XML using a relational database system. Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data . 2002
  • 3Christophides V,Cluet S,Sim(?)on S.On wrapping query languages and efficient XML integration. Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data . 2000
  • 4http://www.w3.org/TR/xquery/ .
  • 5http://monetdb.cwi.nl/xml .
  • 6http://www.cs.washington.edu/research/xmldatasets/www/repository.html .
  • 7Gottlob G,,Koch C,Pichler R.The complexity of XPath query evaluation. Proceedings of the 23rd ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems . 2003
  • 8Li Y,Yu C,Jagadish H V.Schema-free XQuery. Proceedings of the 30th International Conference on Very Large Data Bases . 2004
  • 9Al-Khalifa S,Jagadish HV,Koudas N,et al.Structural Joins: A Primitive for Efficient XML Query Pattern Matching. Proceedings of the 18th International Conference on Data Engineering . 2002
  • 10Bruno N,,Koudas N,Srivastava D.Holistic twig joins:Optimal XML pattern matching. Proceed-ings of the2002ACM SIGMOD International Con-ference on Management of Data . 2002

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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