English

Fitting Ontologies and Constraints to Relational Structures

Artificial Intelligence 2025-08-20 v1 Databases

Abstract

We study the problem of fitting ontologies and constraints to positive and negative examples that take the form of a finite relational structure. As ontology and constraint languages, we consider the description logics EL\mathcal{E\mkern-2mu L} and ELI\mathcal{E\mkern-2mu LI} as well as several classes of tuple-generating dependencies (TGDs): full, guarded, frontier-guarded, frontier-one, and unrestricted TGDs as well as inclusion dependencies. We pinpoint the exact computational complexity, design algorithms, and analyze the size of fitting ontologies and TGDs. We also investigate the related problem of constructing a finite basis of concept inclusions / TGDs for a given set of finite structures. While finite bases exist for EL\mathcal{E\mkern-2mu L}, ELI\mathcal{E\mkern-2mu LI}, guarded TGDs, and inclusion dependencies, they in general do not exist for full, frontier-guarded and frontier-one TGDs.

Keywords

Cite

@article{arxiv.2508.13176,
  title  = {Fitting Ontologies and Constraints to Relational Structures},
  author = {Simon Hosemann and Jean Christoph Jung and Carsten Lutz and Sebastian Rudolph},
  journal= {arXiv preprint arXiv:2508.13176},
  year   = {2025}
}

Comments

Accepted at the 22nd International Conference on Principles of Knowledge Representation and Reasoning (KR 2025)

R2 v1 2026-07-01T04:55:19.370Z