An Update on Query Answering with Restricted Forms of Negation

One of the most prominent applications of description logic ontologies is their use for accessing data. In this setting, ontologies provide an abstract conceptual layer of the data schema, and queries over the ontology are then used to access the data. In this paper we focus on extensions of conjunctive queries (CQs) and unions of conjunctive queries (UCQs) with restricted forms of negations such as inequality and safe negation. In particular, we consider ontologies based on members of the DL-Lite family. We show that by extending UCQs with any form of negated atoms, the problem of query answering becomes undecidable even when considering ontologies expressed in the core fragment of DL-Lite. On the other hand, we show that answering CQs with inequalities is decidable for ontologies expressed in DL-$Lite^{\mathcal{H}}_{core}$. To this end, we provide an algorithm matching the known coNP lower bound on data complexity. Furthermore, we identify a setting in which conjunctive query answering with inequalities is tractable. We regain tractability by means of syntactic restrictions on the queries, but keeping the expressiveness of the ontology.

[1]  Carsten Lutz,et al.  The Combined Approach to Query Answering in DL-Lite , 2010, KR.

[2]  Riccardo Rosati,et al.  The Limits of Querying Ontologies , 2007, ICDT.

[3]  Diego Calvanese,et al.  The DL-Lite Family and Relations , 2009, J. Artif. Intell. Res..

[4]  Helmut Seidl,et al.  Exact XML Type Checking in Polynomial Time , 2007, ICDT.

[5]  Diego Calvanese,et al.  Dwq : Esprit Long Term Research Project, No 22469 on the Decidability of Query Containment under Constraints on the Decidability of Query Containment under Constraints , 2022 .

[6]  Marcelo Arenas,et al.  Query languages for data exchange: beyond unions of conjunctive queries , 2009, ICDT.

[7]  Alin Deutsch,et al.  The chase revisited , 2008, PODS.

[8]  Leonid Libkin,et al.  On the complexity of query answering over incomplete XML documents , 2012, ICDT '12.

[9]  Anthony C. Klug On conjunctive queries containing inequalities , 1988, JACM.

[10]  Riccardo Rosati On the decidability and finite controllability of query processing in databases with incomplete information , 2006, PODS '06.

[11]  Aleksander Madry,et al.  Data exchange: On the complexity of answering queries with inequalities , 2005, Inf. Process. Lett..

[12]  Catriel Beeri,et al.  A Proof Procedure for Data Dependencies , 1984, JACM.

[13]  Diego Calvanese,et al.  Tractable Reasoning and Efficient Query Answering in Description Logics: The DL-Lite Family , 2007, Journal of Automated Reasoning.

[14]  Magdalena Ortiz,et al.  Answering Expressive Path Queries over Lightweight DL Knowledge Bases , 2012, Description Logics.

[15]  Serge Abiteboul,et al.  Complexity of answering queries using materialized views , 1998, PODS.

[16]  Diego Calvanese,et al.  Data Complexity of Query Answering in Description Logics , 2006, Description Logics.

[17]  Phokion G. Kolaitis,et al.  Laconic Schema Mappings: Computing the Core with SQL Queries , 2009, Proc. VLDB Endow..

[18]  Ronald Fagin,et al.  Data exchange: semantics and query answering , 2003, Theor. Comput. Sci..

[19]  David Harel,et al.  Effective transformations on infinite trees, with applications to high undecidability, dominoes, and fairness , 1986, JACM.