Datalog rewritability of Disjunctive Datalog programs and non-Horn ontologies

作者:

摘要

We study the problem of rewriting a Disjunctive Datalog program into an equivalent plain Datalog program (i.e., one that entails the same facts for every dataset). We show that a Disjunctive Datalog program is Datalog rewritable if and only if it can be rewritten into a linear program (i.e., having at most one IDB body atom in each rule), thus providing a novel characterisation of Datalog rewritability in terms of linearisability. Motivated by this result, we propose the class of markable programs, which extends both Datalog and linear Disjunctive Datalog and admits Datalog rewritings of polynomial size. We show that our results can be seamlessly applied to ontological reasoning and identify two classes of non-Horn ontologies that admit Datalog rewritings of polynomial and exponential size, respectively. Finally, we shift our attention to conjunctive query answering and extend our results to the problem of computing a rewriting of a Disjunctive Datalog program that yields the same answers to a given query w.r.t. arbitrary data. Our empirical results suggest that a fair number of non-Horn ontologies are Datalog rewritable and that query answering over such ontologies becomes feasible using a Datalog engine.

论文关键词:Knowledge representation and reasoning,Rule languages,Disjunctive Datalog,Query answering,Datalog rewritability,Description logics,Ontologies

论文评审过程:Received 14 April 2015, Revised 10 March 2016, Accepted 21 March 2016, Available online 25 March 2016, Version of Record 6 April 2016.

论文官网地址:https://doi.org/10.1016/j.artint.2016.03.006