Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Finite Controllability for Ontology-Mediated Query Answering of CRPQ

Abstract : We study finite ontology mediated query answering (FOMQA), the variant of ontology mediated query answering (OMQA) where the represented world is assumed to be finite, and thus only finite models of the ontology are considered. The query language we study is conjunctive two-way regular path queries (C2RPQ), which can be regarded as the result of adding simple recursion to Conjunctive Queries. We focus on understanding the finite-controllable fragments of C2RPQ, that is, on the question: for which fragments of C2RPQ the OMQA and FOMQA are equivalent? For graph classes S, we consider fragments C2RPQ(S) of C2RPQ as the queries whose underlying graph structure is in S. We completely classify the finite-controllable and non-finite-controllable fragments under: inclusion dependencies, (frontier-)guarded rules, frontier-one rules (either with or without constants), and more generally under guarded-negation first-order constraints. For the finite-controllable fragments, we show a reduction to the satisfiability problem for guarded-negation first-order logic, yielding a 2EXPTIME algorithm (in combined complexity) for the corresponding (F)OMQA problem.
Complete list of metadatas
Contributor : Diego Figueira <>
Submitted on : Sunday, March 15, 2020 - 10:48:47 PM
Last modification on : Thursday, March 19, 2020 - 1:32:01 AM


Files produced by the author(s)


  • HAL Id : hal-02508782, version 1



Diego Figueira, Santiago Figueira, Edwin Pin Baque. Finite Controllability for Ontology-Mediated Query Answering of CRPQ. 2020. ⟨hal-02508782⟩



Record views


Files downloads