@inproceedings{2579a91b3a3f4fee8154e928d36e5ccd,
title = "Datalog with negation and monotonicity",
abstract = "Positive Datalog has several nice properties that are lost when the language is extended with negation. One example is that fixpoints of positive Datalog programs are robust w.r.t. the order in which facts are inserted, which facilitates efficient evaluation of such programs in distributed environments. A natural question to ask, given a (stratified) Datalog program with negation, is whether an equivalent positive Datalog program exists. In this context, it is known that positive Datalog can express only a strict subset of the monotone queries, yet the exact relationship between the positive and monotone fragments of semi-positive and stratified Datalog was previously left open. In this paper, we complete the picture by showing that monotone queries expressible in semi-positive Datalog exist which are not expressible in positive Datalog. To provide additional insight into this gap, we also characterize a large class of semi-positive Datalog programs for which the dichotomy 'monotone if and only if rewritable to positive Datalog' holds. Finally, we give best-effort techniques to reduce the amount of negation that is exhibited by a program, even if the program is not monotone.",
keywords = "Datalog, Monotonicity",
author = "Bas Ketsman and Christoph Koch",
year = "2020",
month = mar,
doi = "10.4230/LIPIcs.ICDT.2020.19",
language = "English",
series = "Leibniz International Proceedings in Informatics, LIPIcs",
publisher = "Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing",
editor = "Carsten Lutz and Jung, {Jean Christoph}",
booktitle = "23rd International Conference on Database Theory, ICDT 2020",
note = "23rd International Conference on Database Theory, ICDT 2020 ; Conference date: 30-03-2020 Through 02-04-2020",
}