Efficiently Enumerating Answers to Ontology-Mediated Queries

03/17/2022
by   Carsten Lutz, et al.
0

We study the enumeration of answers to ontology-mediated queries (OMQs) where the ontology is a set of guarded TGDs or formulated in the description logic ELI and the query is a conjunctive query (CQ). In addition to the traditional notion of an answer, we propose and study two novel notions of partial answers that can take into account nulls generated by existential quantifiers in the ontology. Our main result is that enumeration of the traditional complete answers and of both kinds of partial answers is possible with linear-time preprocessing and constant delay for OMQs that are both acyclic and free-connex acyclic. We also provide partially matching lower bounds. Similar results are obtained for the related problems of testing a single answer in linear time and of testing multiple answers in constant time after linear time preprocessing. In both cases, the border between tractability and intractability is characterized by similar, but slightly different acyclicity properties.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/28/2022

Efficient Answer Enumeration in Description Logics with Functional Roles – Extended Version

We study the enumeration of answers to ontology-mediated queries when th...
research
12/10/2018

Enumeration Complexity of Unions of Conjunctive Queries

We study the enumeration complexity of answering unions of conjunctive q...
research
09/18/2017

Enumeration on Trees under Relabelings

We study how to evaluate MSO queries with free variables on trees, withi...
research
12/21/2017

Enumeration Complexity of Conjunctive Queries with Functional Dependencies

We study the complexity of enumerating the answers of Conjunctive Querie...
research
07/12/2021

How to Approximate Ontology-Mediated Queries

We introduce and study several notions of approximation for ontology-med...
research
01/18/2014

Completeness Guarantees for Incomplete Ontology Reasoners: Theory and Practice

To achieve scalability of query answering, the developers of Semantic We...
research
01/23/2014

The Logical Difference for the Lightweight Description Logic EL

We study a logic-based approach to versioning of ontologies. Under this ...

Please sign up or login with your details

Forgot password? Click here to reset