Ontology-based query answering with existential rules is well understood and implemented for positive queries, in particular conjunctive queries. The situation changes drastically for queries with negation, where there is no agreed-upon semantics or standard implementation. Stratification, as used for Datalog, is not enough for existential rules, since the latter still admit multiple universal models that can differ on negative queries. We therefore propose universal core models as a basis for a meaningful (non-monotonic) semantics for queries with negation. Since cores are hard to compute, we identify syntactic descriptions of queries that can equivalently be answered over other types of models. This leads to fragments of queries with negation that can safely be evaluated by current chase implementations. We establish new techniques to estimate how the core model differs from other universal models, and we incorporate our findings into a new reasoning approach for existential rules with negation.
翻译:与存在规则有关的基于本体学的查询被很好地理解并用于积极的查询,特别是结合性查询。当不存在商定的语义学或标准执行时,情况在否定性查询方面发生了巨大变化。数据仪所使用的分级方法不足以满足存在规则,因为数据仪所使用的分级方法仍然接受在否定性查询方面可能有所不同的多重通用模型。因此,我们提出了通用的核心模型,作为进行否定性查询的有意义(非调解调)语义学依据。由于核心难以计算,我们确定了可以与其他类型模式同等回答的查询的同质描述。这导致了否定性查询的零散,而目前的追逐执行可以安全地加以评估。我们建立了新技术来估计核心模型与其他普遍模式的不同之处,并将我们的调查结果纳入新的逻辑,以否定性规则取代存在规则。