【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-ARY谓词等特征的推理能力。我们考虑在具有线性递归的规则下评估SPARQL查询,原则上由2相转换为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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号