Right-Adjoints for Datalog Programs, and Homomorphism Dualities over Restricted Classes

Balder ten Cate,Víctor Dalmau,Jakub Opršal
DOI: https://doi.org/10.48550/arXiv.2302.06366
2023-02-13
Logic in Computer Science
Abstract:A Datalog program can be viewed as a syntactic specification of a functor from database instances over some schema to database instances over another schema. The same holds more generally for $\exists$Datalog. We establish large classes of Datalog and $\exists$Datalog programs for which the corresponding functor admits a generalized right-adjoint. We employ these results to obtain new insights into the existence of, and methods for constructing, homomorphism dualities within restricted classes of instances. We also derive new results regarding the existence of uniquely characterizing data examples for database queries.
What problem does this paper attempt to address?