Please wait a minute...
Advanced Search
现代图书情报技术  2012, Vol. Issue (10): 42-48     https://doi.org/10.11925/infotech.1003-3513.2012.10.07
  知识组织与知识管理 本期目录 | 过刊浏览 | 高级检索 |
SPARQL查询优化
徐雷
武汉大学信息资源研究中心 武汉 430072
The Optimization of SPARQL Query
Xu Lei
Center for the Studies of Information Resources, Wuhan University, Wuhan 430072, China
全文: PDF (599 KB)   HTML  
输出: BibTeX | EndNote (RIS)      
摘要 为提高SPARQL语句的查询效率,使用RDF模式信息来精简SPARQL基本图模式,然后使用B树结构快速估计SPARQL连接图的节点大小及边权值,使用连接代价估计并结合动态规划方法找到最优逻辑查询计划,实验对比表明,使用本方法的SPARQL查询效率比Jena要优秀,和Sesame性能相当。
服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
徐雷
关键词 SPARQL查询优化RDF模式信息连接代价动态规划    
Abstract:In order to improve SPARQL query efficiency, this paper uses RDF schema to simplify the BGP of SPARQL, and then estimates each node’cardinality and the weight of each edge through B-tree indexes quickly. After that, it uses the methods of joining cost estimation and dynamic programming for the optimal logical query plan. The result of the experiment shows that the new method improves the SPARQL query efficiency,while the performance of this method is as good as Sesame, and much better than Jena.
Key wordsSPARQL    Query optimization    RDF schema    Joining cost    Dynamic programming
收稿日期: 2012-10-07      出版日期: 2013-01-24
: 

G202

 
基金资助:

本文系中央高校基本科研业务费专项资金资助项目“基于描述逻辑的本体推理机制及其技术研究”(项目编号:2012104010202)的研究成果之一。

通讯作者: 徐雷     E-mail: lotusleilei@gmail.com
引用本文:   
徐雷. SPARQL查询优化[J]. 现代图书情报技术, 2012, (10): 42-48.
Xu Lei. The Optimization of SPARQL Query. New Technology of Library and Information Service, 2012, (10): 42-48.
链接本文:  
https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/10.11925/infotech.1003-3513.2012.10.07      或      https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/Y2012/V/I10/42
[1] Abadi D J, Marcus A, Madden S R, et al. Scalable Semantic Web Data Management Using Vertical Partitioning[C]. In:Proceedings of the 33rd International Conference on Very Large Data Bases, Vienna, Austria. New York:ACM,2007:411-422.
[2] Weiss C, Karras P, Bernstein A. Hexastore:Sextuple Indexing for Semantic Web Data Management[C]. In:Proceedings of the 34rd International Conference on Very Large Data Bases. New York:ACM,2008:1008-1019.
[3] 吕彬,杜小勇,王琰,等.基于属性相关性的SPARQL查询优化方法[J]. 计算机研究与发展, 2009,46(S2):494-500.(Lv Bin,Du Xiaoyong,Wang Yan,et al. SPARQL Query Optimization Based on Property Correlations[J]. Journal of Computer Research and Development, 2009,46(S2):494-500.)
[4] 王晓方,杜小勇,陈跃国,等.基于自适应模式的SPARQL查询与优化[J]. 计算机研究与发展, 2010, 47(S1):43-47. (Wang Xiaofang,Du Xiaoyong,Chen Yueguo,et al.SPARQL Query Optimization Based on Dynamic Schema Structure[J]. Journal of Computer Research and Development,2010,47(S1):43-47.)
[5] 叶育鑫,欧阳丹彤.混合语义约简和选择估值优化SPARQL[J]. 电子学报,2010,38(5):1205-1210. (Ye Yuxin,Ouyang Dantong.Optimize SPARQL by Combining Semantic Reduction and Selectivity Estimation[J]. Aata Electronica Sinica,2010,38(5):1205-1210.)
[6] Stocker M, Seaborne A, Bernstein A, et al. SPARQL Basic Graph Pattern Optimization Using Selectivity Estimation[C]. In:Proceedings of the 17th International Conference on World Wide Web(WWW2008),Beijing, China.2008:1008-1019.
[7] Carroll J J, Dickinson I, Dollin C, et al. Jena:Implementing the Semantic Web Recommendations[C].In:Proceedings of the 13th International Conference on World Wide Web(WWW2004), USA.2004:74-83.
[8] The Apache Software Foundation. ARQ-A SPARQL Processor for Jena[OL].[2012-09-12]. http://jena.apache.org/documentation/query/index.html.
[9] Vidal M, Ruckhaus E, Lampo T. Efficiently Joining Group Patterns in SPARQL Queries[C].In: Proceedings of the 7th International Conference on the Semantic Web: Research and Applications.Berlin, Heidelberg:Springer-Verlag,2010:228-242.
[10] Huang H, Liu C. Selectivity Estimation for SPARQL Graphpattern[C].In:Proceedings of the 19th International Conferenceon World Wide Web(WWW2010), USA. 2010:1115-1116.
[11] Schmit M, Meier M, Lausen G. Foundations of SPARQL Query Optimization[C].In:Proceedings of the 13th International Conference on Database Theory(ICDT2010), Switzerland.2010:22-25.
[12] Lehigh University Benchmark (LUBM)[OL]. [2012-09-12]. http://swat.cse.lehigh.edu/projects/lubm/.
[13] SPARQL 1.1 Query Language[OL].[2012-09-21].http://www.w3.org/TR/sparql11-query/.
[14] Franz Inc.AllegroGraph RDFStore Web 3.0’s Database[OL].[2012-09-23]. http://www.franz.com/agraph/allegrograph/.
[1] 姜赢, 张婧, 朱玲萱. 面向Cytoscape平台的关联数据知识图谱概览抽取与可视化*[J]. 数据分析与知识发现, 2017, 1(3): 29-37.
[2] 王思丽, 马建霞, 祝忠明, 张秀秀, 马建玲. 语义Web模式下综合科技资源的关联策略研究[J]. 现代图书情报技术, 2011, 27(6): 32-38.
[3] 黄金霞, 景丽. 面向VIVO本体的数据摄取工具[J]. 现代图书情报技术, 2011, 27(2): 16-20.
[4] Martin Malmsten. 将图书馆目录纳入语义万维网[J]. 现代图书情报技术, 2009, 3(3): 3-7.
[5] 曾新红,林伟明,明仲. 中文叙词表本体的检索实现及其术语学服务研究*[J]. 现代图书情报技术, 2008, 24(2): 8-13.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
版权所有 © 2015 《数据分析与知识发现》编辑部
地址:北京市海淀区中关村北四环西路33号 邮编:100190
电话/传真:(010)82626611-6626,82624938
E-mail:jishu@mail.las.ac.cn