期刊文献+

基于CouchDB的SPARQL查询引擎实现

Implementation of SPARQL Query Engine Based on CouchDB
下载PDF
导出
摘要 传统的SPARQL查询引擎在处理查询时以三元组模式为基本单位做查询优化处理,在三元组模式较多时存在着过多的连接操作,开销比较大。文中基于文档数据库的存储和查询特点,提出一种利用主语分类的方式来存储RDF数据的方法,将不同的RDF三元组按主语分成不同的类,并存入文档数据库的文档中。在处理SPARQL查询时将三元组模式也按照主语分类,构成以主语相关块为单位的查询图,并提出一种基于属性相关性的选择度估计方法来优化查询执行计划。文中利用文档数据库CouchDB实现了新的SPARQL查询引擎,实验证明文中的方法能够提高SPARQL基本图模式查询的效率。 Traditional SPARQL query engines optimize queries in terms of triple pattern as basic unit. This brings too many join operations in the face of SPARQL queries comprising many triple patterns,which lead to much query overhead. In this paper,taking the advantage of storing and quering of document-oriented database,propose a subject-classification approach to store RDF triples. RDF triples are parti-tioned into various classes in terms of identical subjects,and saved to the documents of the database. Triple patterns are classified accord-ing to their subjects as well,composing the query graph based on subject-related block. The method of selectivity estimation is improved on the new query graph. Using a document-oriented databse CouchDB to build a SPARQL query engine,the experiment proves the ap-proach is capable of improving the efficiency of SPARQL basic graph pattern query handling.
出处 《计算机技术与发展》 2014年第5期6-10,共5页 Computer Technology and Development
基金 国家"863"高技术发展计划项目(2011AA01A202) 国家社会科学基金(11AZD121)
关键词 主语分类 文档数据库 查询优化 SPARQL SPARQL subject classification document-oriented database query optimization
  • 相关文献

参考文献16

  • 1SPARQL Query Language for RDF[ EB/OL]. 2008-01-15. http ://www. w3. org/TR/rdf- sparql-query/.
  • 2Broekstra J, Kampman A, van Harmelen F. Sesame : A generic architecture for storing and querying rdf and rdfschema[ C ]// Proceedings of the first international semantic web conference on the semantic web. London, UK : Springer-Verlag ,2002:54- 68.
  • 3Kiryakov A, Ognyanov D, Manov D. OWLIM - A pragmatic semantic repository for OWL [ C ]//Proceedings of the 2005 international conference on Web Information system engineering. Heidelberg, Berlin : Springer-Verlag, 2005 : 182-192.
  • 4Radoslaw O, Bizet C, Westphal D. RAP: RDF API for PHP [ C]//Proceedings of the 1st workshop on scripting for the semantic web, 2nd European semantic web conference ( ESWC2005 ). Heraklion, Greece : Springer ,2005.
  • 5Stephen H, Gibbins D N. 3store: Efficient bulk RDF storage [ C ]//Proceedings of the first international workshop on prac- tical and scalable semantic systems. Sanibel Island, USA: CEUR-WS. org,2003.
  • 6Abadi D J, Marcus A, Madden S R, et al. Scalable semantic web data management using vertical partitioning [ C ]//Proceedings of the 33rd international conference on very large da- ta bases. Vienna, Austria : VLDB Endowment,2007:411-422.
  • 7Bemastein A, Kiefer C, Stoker M. OptARQ:A SPARQL optimization approach based on triple pattern selectivity estimation [ R ]. Zurich : University of Zurich,2007.
  • 8Stocker M, Seaborne A, Bernstein A, et al. SPARQL basic graph pattern optimization using selectivity estimation [ C ]// Proceedings of the 17th international conference on World Wide Web. New York, USA : ACM ,2008:595-604.
  • 9Maduko A, Anyanwu K, Sheth A, et al. Estimating the cardi- nality of the rdf graph patterns[ C]//Proceedings of the 16th international conference on World Wide Web. New York, USA : ACM ,2007 : 1233-1234.
  • 10Bernstein A, Stocker M, Kiefer C. SPARQL query optimization using selectivity estimation [ C ]//Proceedings of the 6th international semantic web conference. [ s. l. ] :Springer,2007.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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