# Rewritability in Monadic Disjunctive Datalog, MMSNP, and Expressive Description Logics

arXiv: https://arxiv.org/abs/1701.02231 · HTML: https://mlsanity.com/paper/1701.02231/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 3 Jan 2017.

## Built on by (most cited first, 4 of 4)

- [How to Approximate Ontology-Mediated Queries](https://mlsanity.com/paper/2107.05369/) (2021)
- [On Deciding the Data Complexity of Answering Linear Monadic Datalog Queries with LTL Operators(Extended Version)](https://mlsanity.com/paper/2501.13762/) (2025)
- [Characterising Fixed Parameter Tractability of Query Evaluation over Guarded TGDs](https://mlsanity.com/paper/2101.11727/) (2021)
- [Decidability of Querying First-Order Theories via Countermodels of Finite Width](https://mlsanity.com/paper/2304.06348/) (2023)

## Abstract (arXiv)

We study rewritability of monadic disjunctive Datalog programs, (the complements of) MMSNP sentences, and ontology-mediated queries (OMQs) based on expressive description logics of the ALC family and on conjunctive queries. We show that rewritability into FO and into monadic Datalog (MDLog) are decidable, and that rewritability into Datalog is decidable when the original query satisfies a certain condition related to equality. We establish 2NExpTime-completeness for all studied problems except rewritability into MDLog for which there remains a gap between 2NExpTime and 3ExpTime. We also analyze the shape of rewritings, which in the MMSNP case correspond to obstructions, and give a new construction of canonical Datalog programs that is more elementary than existing ones and also applies to formulas with free variables.
