【24h】

Rules and Ontology Based Data Access

机译:基于规则和本体的数据访问

获取原文

摘要

In OBDA an ontology defines a high level global vocabulary for user queries, and such vocabulary is mapped to (typically relational) databases. Extending this paradigm with rules, e.g., expressed in SWRL or RIF, boosts the expressivity of the model and the reasoning ability to take into account features such as recursion and n-ary predicates. We consider evaluation of SPARQL queries under rules with linear recursion, which in principle is carried out by a 2-phase translation to SQL: (1) The SPARQL query, together with the RIF/SWRL rules, and the mappings is translated to a Datalog program, possibly with linear recursion; (2) The Datalog program is converted to SQL by using recursive common table expressions. Since a naive implementation of this translation generates inefficient SQL code, we propose several optimisations to make the approach scalable. We implement and evaluate the techniques presented here in the Ontop system. To the best of our knowledge, this results in the first system supporting all of the following W3C standards: the OWL 2 QL ontology language, R2RML mappings, SWRL rules with linear recursion, and SPARQL queries. The preliminary but encouraging experimental results on the NPD benchmark show that our approach is scalable, provided optimisations are applied.
机译:在OBDA中,本体定义了用于用户查询的高级全局词汇表,并且该词汇表映射到(通常是关系的)数据库。使用例如以SWRL或RIF表示的规则扩展此范例,可以提高模型的表达能力和考虑诸如递归和n元谓词之类的特征的推理能力。我们考虑根据线性递归规则对SPARQL查询进行评估,原则上是通过两阶段转换为SQL进行的:(1)SPARQL查询与RIF / SWRL规则一起,并将映射转换为Datalog程序,可能具有线性递归; (2)通过使用递归公用表表达式将Datalog程序转换为SQL。由于这种转换的幼稚实现会产生效率低下的SQL代码,因此我们提出了几种优化措施,以使该方法可扩展。我们在Ontop系统中实施和评估此处介绍的技术。据我们所知,这是第一个支持以下所有W3C标准的系统:OWL 2 QL本体语言,R2RML映射,具有线性递归的SWRL规则和SPARQL查询。 NPD基准测试的初步但令人鼓舞的实验结果表明,只要应用了优化措施,我们的方法就可以扩展。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号