English

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

Logic in Computer Science 2023-02-14 v1 Databases

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 \existsDatalog. We establish large classes of Datalog and \existsDatalog 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.

Keywords

Cite

@article{arxiv.2302.06366,
  title  = {Right-Adjoints for Datalog Programs, and Homomorphism Dualities over Restricted Classes},
  author = {Balder ten Cate and Víctor Dalmau and Jakub Opršal},
  journal= {arXiv preprint arXiv:2302.06366},
  year   = {2023}
}
R2 v1 2026-06-28T08:38:46.469Z