期刊文献+

一种XML多分支路径索引查询算法 被引量:2

A XML Multiple Branch Path Query Algorithm Based on Index
下载PDF
导出
摘要 为高效地实现XML多分支路径查询,提出了基于索引的XML多分支路径查询算法depthjoin.首先对XML文档进行编码并创建索引,然后对查询树进行查询匹配.采用栈存储多分支路径中的单路径,对多分支结点采用索引信息判定其子结点是否具有共同的祖先结点或父结点.与现有的XML分支查询算法相比,算法depthjoin充分利用索引,不需要进行单路径的连接操作,实验表明其查询效率比现有的查询算法高. XML single path query methods and simple branch path query methods have been presented, but how to query multiple branch path is not solved well. This paper presents the algorithm depthjoin for querying XML multiple branch path based on index. The algorithm encodes the XML documents and creates an index for them. It restores the single path of the multiple branches path using stack on the process of matching of the query tree, judging if the branch nodes have the same ancestors or parent by the index. Compared with the existing algorithms, the algorithm does not need join the single paths. The query efficiency is superior to the existing algorithms.
作者 吉根林 肖袁
出处 《南京师范大学学报(工程技术版)》 CAS 2007年第1期63-67,共5页 Journal of Nanjing Normal University(Engineering and Technology Edition)
基金 江苏省高校自然科学基金(04KJB520075)资助项目
关键词 XML查询 XML索引 XML多分支路径查询 XML query, XML index, XML multiple branch path
  • 相关文献

参考文献10

  • 1[1]Kaushik R,Shenoy P,Bohannon P,et al.Exploiting local similarity for efficient indexing of paths in graph structured data[C]// 10th International Conference on Database Theory.California:San Jose,2002:129-140.
  • 2[2]Chen Q,Lim A,Ong K W.D(k)-index:an adaptive structural summary for graph-structured data[C]// Proc of the 2003 ACM SIGMOD Intl Conf on Management of Data.California:San Diego,2003:134-144.
  • 3[3]Chung C,Min J,Shim K.APEX:an adaptive path index for XML data[C]// Proc of the 2002 ACM SIGMOD Intl Conf on Management of Data.Wisconsin:Madison,2002:121-132.
  • 4[4]Milo T,Suciu D.Index structures for path expressions[C]// 7th International Conference on Database Theory.Israel:Jerusalem,1999:277-255.
  • 5[5]Li Quanzhong,Bongki Moon.Indexing and querying XML data for regular path expressions[C]// Proceedings of the 27th VLDB Conference.Italy:Roma,2001:361-370.
  • 6[6]Roy Goldman,Jennifer Widom.DataGuide:enabling query formulation and optimization in semistructured databases[C]// Proceedings of the 23th International Conference on Very Large Data Bases.Athens:Pages,1997:436-445.
  • 7[7]Jagadish H V S,Koudas N.Structural joins:a primitive for efficient XML query pattern matching[C]// Hiong Ngu A H.Proceedings of the 18th IEEE ICDE International Conference on Data Engineering.California,2002:141-152.
  • 8[8]Chien S Y,Vagena Z,Zhang Donghui,et al.Efficient structural joins on indexed XML document[C]// Papadias D.Proceedings of the 28th VLDB International Conference on Very Large Database.China:Hong Kong,2002:263-274.
  • 9[9]Bruno N,Koudas N,Srivastava D.Holistic twig Joins:Optimal XML pattern matching[C]// Franklin M J.Proceedings of the 21th ACM SIGMOD International Conference on Management of Data.Wisconsin:Madison,2002:310-321.
  • 10[10]Shakespeare XML data sets[DB/OL].ftp://sunsite.unc.edu/pub/sun-info/standards/XML/egs/.

同被引文献19

  • 1汪锦岭,金蓓弘,李京,邵丹华.基于本体的发布/订阅系统的数据模型和匹配算法[J].软件学报,2005,16(9):1625-1635. 被引量:23
  • 2Bruno N, Koudas N, Srivastava D. Holistic Twig Joins: Optimal XML Pattern Matchingc//Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data. Madison: ACM, 2002:310 -321.
  • 3Kim Y H, Kim B G, Lee J, et al. The Path Index for Query Processing on RDF and RDF schema//Proceedings of the 7th International Conference on Advanced Communication Technology. Phoenix Park: IEEE Computer Society, 2005(2): 1237-1240.
  • 4Liu Baolin, Hu Bo. Path Queries Based RDF Index//Proceedings of First International Conference on Semantics, Knowledge and Grid. Beijing: IEEE Computer Society, 2006:91 -91.
  • 5Stanislav B. Designing Indexing Structure for Discovering Relationships in rdf Graph//Proceedings of the Dateso 2004 Annual International Worksho Pon Databases, Texts, Specifications and Objects. Ostrava : VSB-Technical University of Ostrava,2004 : 1 - 11.
  • 6Hayes P. RDF Semantics. [2004-02-10]. http://www. w3. org/TR/2004/REC-rdf-mt- 20040210/.
  • 7Manola K, Miller E. RDF Primer. [2004-02 -10]. http:// www. w3. org/TR/2004/REC- rdf-primer -20040210/.
  • 8Goldman R, Widom J. DataGuides: Enabling Query Formulation and Optimization in Semistructured Databases//Proceedings of the 23rd International Conference on Very Large Databases. Athens: Morgan Kaufmann, 1997:436 - 445.
  • 9Milo T, Sucliu D. Index Structures for Path Expressions//Proceedings of the 7th International Conference on Database Theory. Jerusalem: Spring-Verlag, 1999:277 -255.
  • 10Chung C, Min J, Shim K. APEX: An Adaptive Path Index for XML Data//Proccedings of the 2002 ACM SIGMOD International Conference on Management of Data. Madison: ACM,2002:121 -132.

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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