Answering conjunctive queries (CQs) equipped with basic forms of negation is a challenging task, which happens to be undecidable even for lightweight Description Logic (DL) ontologies. Interestingly, the DL counterpart of RDFS seems to be partially unaffected by those negative results, even when equipped with disjointness axioms. This paper summarises our recent work on this subject, where we present a refined complexity analysis of answering CQs with inequality atoms and safe negation posed over such ontologies. We introduce a unified Π𝑝2 algorithm for the general case; we prove that two inequality atoms already lead to Π𝑝2-hardness, and we show similar results for the case of safe negation: answering CQs with one negated atom is in NP, but two negated atoms are enough to reach Π𝑝2 -hardness. These results close key gaps in the literature and refine the complexity analysis of the query containment problem.

Answering Expressive Conjunctive Queries over RDFS Knowledge Bases (Extended Abstract) / Cima, Gianluca; Console, Marco; Delfino, Roberto Maria; Lenzerini, Maurizio; Poggi, Antonella. - (2025). ( 38th International Workshop on Description Logics - DL 2025 Opole, Poland ).

Answering Expressive Conjunctive Queries over RDFS Knowledge Bases (Extended Abstract)

Gianluca Cima
;
Marco Console
;
Roberto Maria Delfino
;
Maurizio Lenzerini
;
Antonella Poggi
2025

Abstract

Answering conjunctive queries (CQs) equipped with basic forms of negation is a challenging task, which happens to be undecidable even for lightweight Description Logic (DL) ontologies. Interestingly, the DL counterpart of RDFS seems to be partially unaffected by those negative results, even when equipped with disjointness axioms. This paper summarises our recent work on this subject, where we present a refined complexity analysis of answering CQs with inequality atoms and safe negation posed over such ontologies. We introduce a unified Π𝑝2 algorithm for the general case; we prove that two inequality atoms already lead to Π𝑝2-hardness, and we show similar results for the case of safe negation: answering CQs with one negated atom is in NP, but two negated atoms are enough to reach Π𝑝2 -hardness. These results close key gaps in the literature and refine the complexity analysis of the query containment problem.
2025
38th International Workshop on Description Logics - DL 2025
query answering; dl ontologies; negations; complexity
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Answering Expressive Conjunctive Queries over RDFS Knowledge Bases (Extended Abstract) / Cima, Gianluca; Console, Marco; Delfino, Roberto Maria; Lenzerini, Maurizio; Poggi, Antonella. - (2025). ( 38th International Workshop on Description Logics - DL 2025 Opole, Poland ).
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1756246
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact