Fitting Description Logic Ontologies to ABox and Query Examples
Abstract
We study a fitting problem inspired by ontology-mediated querying: given a collection of positive and negative examples of the form with an ABox and a Boolean query, we seek an ontology that satisfies for all positive examples and for all negative examples. We consider the description logics and 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 for AQs and full CQs and -complete for CQs and UCQs. These results hold for both and .
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