Answering Conjunctive Queries with Safe Negation and Inequalities over RDFS Knowledge Bases
Gianluca Cima, Marco Console, Roberto Maria Delfino, Maurizio Lenzerini, Antonella Poggi
摘要
Expressing negative conditions is a crucial feature of query languages for knowledge bases (KBs). Answering such queries over ontological KBs, however, is a very challenging task that becomes undecidable even for lightweight Description Logic (DL) ontologies. Such negative results hold even for Conjunctive Queries (CQs) equipped with basic forms of negative conditions such as the so-called safe negation or inequality atoms. One ontology language that is seemingly unaffected by these results is (the DL counterpart of) RDFS even if equipped with disjointness axioms. Answering CQs with inequalities over such ontologies is known to be Pi^p_2-complete, if the number of inequality atoms is unbounded, and NP-complete if we limit this number to one. Notably, these results leave open the cases of CQs with a fixed number greater than two of inequality atoms. Additionally, such a thorough analysis is missing for CQs with safe negation.
In this paper, we embark in a refined analysis of the combined complexity of answering CQs with inequality atoms and safe negation over RDFS ontologies augmented with disjointness axioms. Firstly, we provide a unified Pi^p_2 query answering algorithm for the general problem. Secondly, we confirm the generally held conjecture according to which answering CQs with two inequality atoms over such ontologies is already Pi^p_2-hard. This result closes an important gap in the current literature and has an impact on the widely influential problem of query containment. Lastly, for CQs with safe negation, we prove a behavior similar to that of CQs with inequality atoms. Specifically, we show that answering CQs with at most one negated atom can be done in NP, while allowing at most two negated atoms is sufficient to obtain Pi^p_2-hardness.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它它引用的顶会 Paper1
相关 Paper
- Answering Queries with Negation over Existential RulesStefan Ellmauthaler, Markus Krötzsch, Stephan MennickeAAAI 2022 · 被引用 6 次
- Resilient Logic Programs: Answer Set Programs Challenged by OntologiesSanja Lukumbuzya, Magdalena Ortiz, Mantas SimkusAAAI 2020 · 被引用 8 次
- Ontology-Mediated Query Answering Using Graph Patterns with ConditionsPing Lu, Ting Deng, Haoyuan Zhang, Yufeng Jin 等ICDE 2024
- The Price of Selfishness: Conjunctive Query Entailment for ALCSelf Is 2EXPTIME-HardBartosz Bednarczyk, Sebastian RudolphAAAI 2022 · 被引用 1 次
- Revisiting Conjunctive Query Entailment for SYazmín Ibáñez-García, Jean Christoph Jung, Vincent Michielini, Filip MurlakAAAI 2026 · 被引用 1 次
