English

Fitting Description Logic Ontologies to ABox and Query Examples

Artificial Intelligence 2025-08-18 v2 Logic in Computer Science

Abstract

We study a fitting problem inspired by ontology-mediated querying: given a collection of positive and negative examples of the form (A,q)(\mathcal{A},q) with A\mathcal{A} an ABox and qq a Boolean query, we seek an ontology O\mathcal{O} that satisfies AOq\mathcal{A} \cup \mathcal{O} \vDash q for all positive examples and AO⊭q\mathcal{A} \cup \mathcal{O}\not\vDash q for all negative examples. We consider the description logics ALC\mathcal{ALC} and ALCI\mathcal{ALCI} as ontology languages and a range of query languages that includes atomic queries (AQs), conjunctive queries (CQs), and unions thereof (UCQs). For all of the resulting fitting problems, we provide effective characterizations and determine the computational complexity of deciding whether a fitting ontology exists. This problem turns out to be CONP{\scriptsize CO}NP for AQs and full CQs and 2EXPTIME2E{\scriptsize XP}T{\scriptsize IME}-complete for CQs and UCQs. These results hold for both ALC\mathcal{ALC} and ALCI\mathcal{ALCI}.

Keywords

Cite

@article{arxiv.2508.08007,
  title  = {Fitting Description Logic Ontologies to ABox and Query Examples},
  author = {Maurice Funk and Marvin Grosser and Carsten Lutz},
  journal= {arXiv preprint arXiv:2508.08007},
  year   = {2025}
}

Comments

Submitted to the 22nd International Conference on Principles of Knowledge Representation and Reasoning (KR2025), 23 pages

R2 v1 2026-07-01T04:44:24.397Z