KR2025Proceedings of the 22nd International Conference on Principles of Knowledge Representation and ReasoningProceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning

Melbourne, Australia. November 11-17, 2025.

Edited by

ISSN: 2334-1033
ISBN: 978-1-956792-08-9

Sponsored by
Published by

Copyright © 2025 International Joint Conferences on Artificial Intelligence Organization

Fitting Description Logic Ontologies to ABox and Query Examples

  1. Maurice Funk(Leipzig University)
  2. Marvin Grosser(Leipzig University)
  3. Carsten Lutz(Leipzig University)

Keywords

  1. Description Logics
  2. Ontology Fitting
  3. Ontology Mediated Querying
  4. Model-theoretic Characterizations

Abstract

We study a fitting problem inspired by ontology-mediated querying: given a collection of positive and negative examples of the form (A, q) with A an ABox and q a query, we seek an ontology O such that A ∪ O entails q for all positive examples (A, q) and A ∪ O does not entail q for all negative examples (A, q). We consider the description logics ALC and 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-complete for AQs and full CQs and 2ExpTime-complete for CQs and UCQs. These results hold for both ALC and ALCI.