Decidability of Querying First-Order Theories via Countermodels of Finite Width
Thomas Feller, Tim S. Lyon, Piotr Ostropolski-Nalewaja, Sebastian Rudolph
TL;DR
The paper introduces a width-based framework for deciding entailment problems $\textsc{Entailment}(\mathfrak{F},\mathfrak{Q})$ by exploiting countermodels of finite width, with partitionwidth as a central measure. It develops a generic decidability theorem requiring width-controllability and MSO-friendly translations, then specializes to homomorphism-closed queries via finitely universal model sets. The work applies the framework to existential rules, defines the fps (finite partition-width sets) class, and shows how stratification and FO-rewritability shape the landscape of decidable CQ/HUSOMSOQ entailment, including new subclasses and broad applicability to description logics and ontological querying. It also clarifies the relationships among width notions (partitionwidth, treewidth, cliquewidth) and discusses limitations and future directions for width-based decidability beyond universal models. Overall, the results provide a modular toolbox for deriving decidability across expressive logics and query languages, with wide implications for databases, KR, and ontology-based querying.
Abstract
We propose a generic framework for establishing the decidability of a wide range of logical entailment problems (briefly called querying), based on the existence of countermodels that are structurally simple, gauged by certain types of width measures (with treewidth and cliquewidth as popular examples). As an important special case of our framework, we identify logics exhibiting width-finite finitely universal model sets, warranting decidable entailment for a wide range of homomorphism-closed queries, subsuming a diverse set of practically relevant query languages. As a particularly powerful width measure, we propose to employ Blumensath's partitionwidth, which subsumes various other commonly considered width measures and exhibits highly favorable computational and structural properties. Focusing on the formalism of existential rules as a popular showcase, we explain how finite partitionwidth sets of rules subsume other known abstract decidable classes but - leveraging existing notions of stratification - also cover a wide range of new rulesets. We expose natural limitations for fitting the class of finite unification sets into our picture and suggest several options for remedy.
