首页> 外国专利> Method and apparatus for optimizing the evaluation of semantic web queries

Method and apparatus for optimizing the evaluation of semantic web queries

机译:优化语义Web查询评估的方法和装置

摘要

A semantic query over an RDF database is received with RDF database statistics and access methods for evaluating triple patterns in the query. The semantic query is expressed as a parse tree containing triple patterns and logical relationships among the triple patterns. The parse tree and access methods create a data flow graph containing a plurality of triple pattern and access method pair nodes connected by a plurality of edges, and an optimal flow tree through the data flow graph is determined such that costs are minimized and all triple patterns in the semantic query are contained in the optimal flow tree. A structure independent execution tree defining a sequence of evaluation through the optimal flow tree is created and is transformed into a database structure dependent query plan. This is used to create an SQL query that is used to evaluate the semantic query over the RDF database.
机译:使用RDF数据库统计信息和用于评估查询中的三重模式的访问方法来接收RDF数据库上的语义查询。语义查询表示为包含三元模式和三元模式之间的逻辑关系的分析树。解析树和访问方法创建包含多个三元模式的数据流图,并通过多个边连接访问方法对节点,并确定通过数据流图的最佳流树,以使成本最小化,所有三元模式语义查询中的“最佳”包含在最佳流树中。创建了一个结构独立的执行树,该结构树定义了通过最佳流树进行评估的顺序,并将其转换为依赖于数据库结构的查询计划。这用于创建SQL查询,该SQL查询用于评估RDF数据库上的语义查询。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号