In many scenarios, complete and incomplete information coexist. For this reason, the knowledge representation and database communities have long shown interest in simultaneously supporting the closed- and the open-world views when reasoning about logic theories. Here we consider the setting of querying possibly incomplete data using logic theories, formalized as the evaluation of an ontology-mediated query (OMQ) that pairs a query with a theory, sometimes called an ontology, expressing background knowledge. This can be further enriched by specifying a set of closed predicates from the theory that are to be interpreted under the closed-world assumption, while the rest are interpreted with the open-world view. In this way we can retrieve more precise answers to queries by leveraging the partial completeness of the data.
The central goal of this paper is to understand the relative expressiveness of OMQ languages in which the ontology is written in the expressive Description Logic (DL) ALCHOI and includes a set of closed predicates. We consider a restricted class of conjunctive queries. Our main result is to show that every query in this non-monotonic query language can be translated in polynomial time into Datalog with negation under the stable model semantics. To overcome the challenge that Datalog has no direct means to express the existential quantification present in ALCHOI, we define a two-player game that characterizes the satisfaction of the ontology, and design a Datalog query that can decide the existence of a winning strategy for the game. If there are no closed predicates, that is in the case of querying a plain ALCHOI knowledge base, our translation yields a positive disjunctive Datalog program of polynomial size. To the best of our knowledge, unlike previous translations for related fragments with expressive (non-Horn) DLs, these are the first polynomial time translations.
Enhancing magic sets with an application to ontological reasoning
Department of Mathematics and Computer Science University of Calabria(卡利亚里大学数学与计算机科学系);Italy(意大利)
魔术集是一种数据到数据的重写技术,用于优化查询应答。重写的程序集中在输入程序的稳定模型的一部分,这足以回答给定的查询。然而,重写可能会引入新的递归定义,甚至可能涉及否定和聚合,并可能减慢程序评估。本文通过防止在重写程序中创建(新的)递归定义来增强魔集技术。结果表明,新版本的幻集对于具有分层否定和聚合的Datastron程序是封闭的,这对于获得重写程序的稳定模型的有效计算是非常方便的.此外,重写的程序被进一步优化,通过消除所包含的规则和有效处理的情况下,绑定传播丢失。这项研究是由挑战刺激的利用Datasheet/ \textsc{dlv}高效推理的大型本体。因此,所有提出的技术已在\textsc{dlv}系统中实现,并进行本体推理测试,确认其有效性。《逻辑程序设计理论与实践》(Theory and Practice of Logic Programming)
A tetrachotomy of ontology-mediated queries with a covering axiom
HSE University(高等经济大学);Institute for Information Transmission Problems(信息传输问题研究所);King’s College London(伦敦国王学院);Steklov Mathematical Institute(斯捷克洛夫数学研究所);Birkbeck, University of London(伦敦大学伯贝克学院)
AI research center AIST(日本产业技术综合研究所人工智能研究中心);National Institute of Informatics(日本国立信息学研究所)
在本文中,我们提出了一个全新的方法来评估数据库。给定一个使用N个常量和二元谓词编写的线性Datasheet程序DB,我们首先将DB中子句的if-and-only-if完成转换为具有非线性运算的矩阵方程组Eq(DB),其中DB的最小Herbrand模型M_DB中的关系被编码为邻接矩阵。然后,我们将Eq(DB)转换为另一个纯线性矩阵方程tilde_Eq(DB)。证明了波浪号_Eq(DB)在矩阵排序意义下的最小解转化为Eq(DB)的最小解,后者给出M_DB作为邻接矩阵的集合。因此,计算波浪线_Eq(DB)的最小解等效于计算DB指定的M_DB。对于一类尾递归程序和一些其他类型的程序,我们的方法实现了O(N^3)时间复杂度的变量在一个子句中的数量无关,因为只有成本O(N^3)或更少的矩阵运算被使用。我们进行了两个实验,计算最少Herbrand模型的线性Datasheet程序。第一个实验计算人工数据和从Koblenz网络集合中获取的真实网络数据的传递闭包。第二个比较所提出的方法与国家的最先进的符号系统,包括两个Prolog系统和两个ASP系统,在计算时间方面的传递闭包程序和相同的生成程序。在实验中,我们观察到,我们的线性代数方法运行速度比符号系统的10^1 ~ 10^4倍,当数据不是稀疏的。逻辑程序设计理论与实践(Theory and Practice of Logic Programming…
DLV是一个高效的逻辑编程和非单调推理(LPNMR)系统,具有先进的知识表示机制和经典关系数据库系统的接口。它的核心语言是具有完整性约束的答案集语义(Answer Set Semantics)下的析取数据库(无函数析取逻辑编程),包括默认和强(或显式)否定以及查询。还支持算术运算和各种内置谓词。此外,DLV有几个前端,即勇敢和谨慎的推理,溯因诊断,基于一致性的诊断,SQL 3的一个子集,使用动作语言进行规划,以及使用继承进行逻辑编程。
Department of Computing, Imperial College London, London, UK(计算系,伦敦帝国学院,伦敦,英国);Department of Life Sciences, Imperial College London, London, UK(生命科学系,伦敦帝国学院,伦敦,英国)
Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results
Laboratoire de Recherche en Informatique, CNRS & Université Paris-Sud(法国国家科学研究中心与巴黎南大学计算机研究实验室);Institute for Information Transmission Problems & MIPT(信息传输问题研究所与莫斯科物理技术学院);Steklov Mathematical Institute & National Research University Higher School of Economics(斯捷克洛夫数学研究所与高等经济大学)
Parallelisable Existential Rules: a Story of Pieces
University of Oxford(牛津大学);LIRMM(法国计算机科学、机器人学和微电子实验室);Inria(法国国家信息与自动化研究所);University of Montpellier(蒙彼利埃大学);CNRS(法国国家科学研究中心);DI ENS(巴黎高等师范学院信息学系);ENS(巴黎高等师范学院);PSL University(巴黎文理研究大学)
A Categorical Representation Language and Computational System for Knowledge-Based Planning
University of Maryland(马里兰大学);Johns Hopkins University Applied Physics Laboratory(约翰斯·霍普金斯大学应用物理实验室);Topos Institute(拓扑斯研究所);University of Florida(佛罗里达大学)