Skip to main content
QUICK REVIEW

[Paper Review] Query Expressibility and Verification in Ontology-Based Data Access

Carsten Lutz, Johannes Marti|arXiv (Cornell University)|Nov 18, 2020
Semantic Web and OntologiesComputer Science10 citations
TL;DR

This paper investigates the expressibility and verification of queries in ontology-based data access (OBDA), focusing on whether a source query can be expressed as a target query over an ontology. It establishes that both problems are Π²₂-complete in DL-Lite, coNExpTime-complete for rooted UCQs in EL to ELHI, and 2 ExpTime-complete for unrestricted queries, providing foundational complexity bounds for incremental OBDA design.

ABSTRACT

In ontology-based data access, multiple data sources are integrated using an ontology and mappings. In practice, this is often achieved by a bootstrapping process, that is, the ontology and mappings are first designed to support only the most important queries over the sources and then gradually extended to enable additional queries. In this paper, we study two reasoning problems that support such an approach. The expressibility problem asks whether a given source query $q_s$ is expressible as a target query (that is, over the ontology's vocabulary) and the verification problem asks, additionally given a candidate target query $q_t$, whether $q_t$ expresses $q_s$. We consider (U)CQs as source and target queries and GAV mappings, showing that both problems are $Π^p_2$-complete in DL-Lite, coNExpTime-complete between EL and ELHI when source queries are rooted, and 2ExpTime-complete for unrestricted source queries.

Motivation & Objective

  • To support incremental development of ontology-based data integration systems by formalizing two key reasoning problems: query expressibility and verification.
  • To determine the computational complexity of checking whether a source query can be expressed as a target query over an ontology-mediated schema.
  • To provide precise complexity bounds for expressibility and verification under various DLs (DL-Lite, EL, ELHI) and query types (UCQs, rooted CQs).
  • To clarify the theoretical limits of query rewriting in OBDA, especially in the presence of ontologies and mappings.

Proposed method

  • Reduces the expressibility problem to checking containment between a UCQ-rewriting of the source query and the source query itself, using backward application of mappings.
  • Characterizes verification as checking whether a candidate target query logically contains the source query under the ontology and mappings.
  • Employs reductions from known hard problems (e.g., containment in first-order logic, emptiness in ALCF) to prove lower bounds.
  • Uses polynomial-time reductions to show that expressibility can be reduced to verification.
  • Applies techniques from database theory and description logic, particularly leveraging UCQ rewritings and ontology-mediated query answering.
  • Modifies existing reductions to handle constraints in EL and ELI, including handling concept names and CIs in specific ways to preserve hardness.

Experimental results

Research questions

  • RQ1Is a given source UCQ expressible as a target UCQ over an ontology and GAV mappings?
  • RQ2Given a candidate target query, does it correctly express a given source query in the context of an ontology and mappings?
  • RQ3What is the computational complexity of the expressibility and verification problems in DL-Lite and between EL and ELHI?
  • RQ4Can the expressibility problem be reduced to verification in polynomial time?
  • RQ5What are the minimal conditions under which the problems remain tractable or become intractable?

Key findings

  • The expressibility and verification problems are Π²₂-complete in DL-Lite, even when the ontology is empty and the source query is a CQ.
  • For rooted UCQs in the fragment between EL and ELHI, both problems are coNExpTime-complete.
  • For unrestricted UCQs in the same fragment, both problems are 2 ExpTime-complete.
  • The Π²₂-hardness result holds even without an ontology, showing that the problem is hard in classical query rewriting over views.
  • The 2 ExpTime-hardness result holds even when the ontology is in EL, which is surprising given that EL typically has low-complexity reasoning tasks.
  • The paper corrects a previous claim by showing that the expressibility problem over views is Π²₂-complete, not NP-complete.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.