[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84811-en":3,"doc-seo-84811-105":29,"detail-sidebar-cat-0-en-105":94},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":11,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},84811,2336464648322,"Aria","https://ap-avatar.wpscdn.com/avatar/2200025388227c56fec?_k=1778556882303663488",8,"Research & Report","Someone Slept in My Bed! On the Entailment Problem for Conjunctive Queries with Safe Negation over DL-LiteCORE Knowledge Bases","The paper resolves a longstanding open problem by proving undecidability of query answering for conjunctive queries with safe negation over DL-LiteCORE knowledge bases. Given a DL-LiteCORE knowledge base ⟨TBox, ABox⟩ and a Boolean conjunctive query with safe negation ϕ, the work shows that determining whether O entails ϕ cannot be decided by any algorithm. The study develops technical preliminaries using first-order semantics, structure-as-fact views, and specialized query and model notions.","Someone slept in my bed! On the entailment problem for conjunctive queries with safe negation over DL-Litecore knowledge bases  \nJerzy Marcinkowski University of Wrocław [jma@cs.uni.wroc.pl](jma@cs.uni.wroc.pl)  \nPiotr Ostropolski-Nalewaja University of Wrocław [postropolski@cs.uni.wroc.pl](postropolski@cs.uni.wroc.pl)  \nJuly 7, 2026  \narXiv :2607 .05336v 1 [ cs .LO] 6 Jul 2026  \nAbstract  \nWe solve a long standing open problem, showing that the query answering for conjunctive queries with safe negation, over DL-LiteCORE knowledge bases, is undecidable.  \n1 Preliminaries. Part 1.  \nWe assume that the Reader is familiar with the standard notions regarding first-order logic (FOL) and its semantics. In particular, we use the terms signature, and atomic formula (or atom) in the standard sense. Fact is an atomic formula without variables (that is, only constants are allowed) . We assume that there exists some fixed infinite set C of constants.  \n1.1 Structures and Relations.  \nThe signatures we consider only comprise unary and binary predicates, so we think of relational structures (for short just structures) over such signatures as (coloured and labelled) graphs and, in consequence, we call elements of their domains vertices and sometimes we call the binary atoms edges.  \nWe find it notationally convenient to think that structures are just sets of facts. This means that the structures we consider never have isolated vertices and that only elements of C can serve as verticies. This can be assumed, for the purpose of this paper, without loss of generality.  \nFor a structure D by Dom (D) we denote the set of its vertices (that is the set of constants the facts of D mention) . Structure D1 is called a substructure of D2 if D1 ⊆ D2 (recall they are sets of facts) . If D is a structure and C ⊆ Dom (D) then the set:  \nD [C] = {E(c, d) ∈ D ∶ c, d ∈ C} ∪ {A(c) ∈ D ∶ c ∈ C} is called an induced by C substructure of D.  \n1.2 Queries.  \nA conjunctive query (CQ) is a FOL formula which is a conjunction of atoms preceded by existential quantifiers. A con-  \njunctive query with safe negation (CQs ¬ ) is a CQ where negated atoms are allowed. It is however assumed, that every variable that appears in such query, must appear in some positive (that is non-negated) atom. A CQ (or a CQs ¬ ) is Boolean if all its variables are bound by existential quantifiers. We use the notations CQ (or CQs ¬ ) also to denote the respective classes of queries.  \nFor a Boolean ξ ∈ CQ ∪ CQs ¬ and a structure D by D ⊧ ξ we mean that ξ is true in D, in the usual FOL sense. Recall that if ξ ∈ CQ then D ⊧ ξ is equivalent to the existence of a mapping from (the variables of) ξ to D which is a homomorphism. If ξ ∈ CQs ¬ then, for D ⊧ ξ to hold, this homomorphism must satisfy some additional natural constraint, namely the image of a negated atom in ξ must not be an atom in D. We will call such mappings satisfying mappings.  \n1.3 The logic DL-LiteCORE and query entailment.  \nThe DL-Lite family of logics, and the logic DL-LiteCORE in particular, were introduced in [1] . Since our work is technical in nature, we will not discuss DL-Lite family in the full generality here, focusing instead on presenting the minimal set of definitions allowing us to formulate our results.  \nA signature Σ comprising unary and binary predicates is assumed. A role is any binary relation over Σ or its inverse. A concept is any unary relation over Σ or any unary relation that can be defined as a projection of a role: for a role R, theset {x ∶ ∃y R(x, y)} is a concept, denoted as ∃R.  \nA DL-Lite knowledge base O is a pair ⟨TBox, ABox⟩, where ABox is a structure (i.e. a set of facts) and TBox is the“domain knowledge” – a set of expressions involving roles and concepts. DL-LiteCORE is the least expressive of the logicsof family and only two forms of such expressions ale allowed in a DL-LiteCORE TBox, namely:  \n() B ⊑ B ′ () B ⊑ ¬B ′  \nwhere B and B ′ are concepts. The semantics of the expressions is natural","cbCaish0d55Bc0ri","https://ap.wps.com/l/cbCaish0d55Bc0ri","pdf",594287,2,1,"English","en",105,"# Abstract\n# Preliminaries\n## Structures and Relations\n## Queries\n## DL-LiteCORE and Query Entailment\n# Our Contribution\n## Theorem 1 (Undecidability)\n# Preliminaries (Part 2)\n## CQs with One Free Variable\n## Types of Vertices and the FREEZE Construct","[{\"question\":\"本文解决的核心开放问题是什么？\",\"answer\":\"论文证明：在DL-LiteCORE知识库上，对带安全否定的合取查询（conjunctive queries with safe negation）的回答/蕴含判定是不可判定的，从而解决一个长期未决问题。\"},{\"question\":\"论文要判定的输入与问题形式是什么？\",\"answer\":\"给定一个DL-LiteCORE知识库O以及一个带安全否定的布尔合取查询ϕ，询问O是否蕴含ϕ（即对所有满足O的结构ϕ都为真）。\"},{\"question\":\"什么是“安全否定”的合取查询？\",\"answer\":\"在带安全否定的合取查询中允许出现被否定的原子，但要求查询里的每个变量都必须至少出现在某个正原子（非否定原子）中。\"},{\"question\":\"DL-LiteCORE知识库由哪些部分组成？\",\"answer\":\"DL-LiteCORE知识库表示为⟨TBox, ABox⟩：ABox是由事实构成的结构，TBox给出涉及角色与概念的域知识，并只允许特定的概念包含/不相交形式。\"}]",1784198409,20,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":89,"head_meta":91,"extra_data":93,"updated_unix":27},"someone-slept-in-my-bed-on-the-entailment-problem-for-conjunctive-queries-with-safe-negation-over-dl-litecore-knowledge-bases","",{"@graph":35,"@context":88},[36,52,67],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,46,49],{"item":40,"name":41,"@type":42,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":20},"https://docshare.wps.com/document/","Document",{"item":47,"name":12,"@type":42,"position":48},"https://docshare.wps.com/document/research-report/",3,{"item":50,"name":13,"@type":42,"position":51},"https://docshare.wps.com/document/someone-slept-in-my-bed-on-the-entailment-problem-for-conjunctive-queries-with-safe-negation-over-dl-litecore-knowledge-bases/84811/",4,{"url":50,"name":13,"@type":53,"author":54,"headline":13,"publisher":56,"fileFormat":59,"inLanguage":23,"description":14,"dateModified":60,"datePublished":61,"encodingFormat":59,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":55},"Person",{"url":40,"name":57,"@type":58},"DocShare","Organization","application/pdf","2026-07-22","2026-07-16",true,{"@type":64,"interactionType":65,"userInteractionCount":20},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80,84],{"name":71,"@type":72,"acceptedAnswer":73},"本文解决的核心开放问题是什么？","Question",{"text":74,"@type":75},"论文证明：在DL-LiteCORE知识库上，对带安全否定的合取查询（conjunctive queries with safe negation）的回答/蕴含判定是不可判定的，从而解决一个长期未决问题。","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"论文要判定的输入与问题形式是什么？",{"text":79,"@type":75},"给定一个DL-LiteCORE知识库O以及一个带安全否定的布尔合取查询ϕ，询问O是否蕴含ϕ（即对所有满足O的结构ϕ都为真）。",{"name":81,"@type":72,"acceptedAnswer":82},"什么是“安全否定”的合取查询？",{"text":83,"@type":75},"在带安全否定的合取查询中允许出现被否定的原子，但要求查询里的每个变量都必须至少出现在某个正原子（非否定原子）中。",{"name":85,"@type":72,"acceptedAnswer":86},"DL-LiteCORE知识库由哪些部分组成？",{"text":87,"@type":75},"DL-LiteCORE知识库表示为⟨TBox, ABox⟩：ABox是由事实构成的结构，TBox给出涉及角色与概念的域知识，并只允许特定的概念包含/不相交形式。","https://schema.org",{"og:url":50,"og:type":90,"og:title":13,"og:site_name":57,"og:description":14},"article",{"robots":92,"canonical":50},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":95},[96,100,104,108,113,118,123,126,130,133,137],{"id":21,"doc_module":4,"doc_module_name":45,"category_name":97,"show_sort_weight":98,"slug":99},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":45,"category_name":101,"show_sort_weight":102,"slug":103},"Literature",80,"literature",{"id":51,"doc_module":4,"doc_module_name":45,"category_name":105,"show_sort_weight":106,"slug":107},"Exam",70,"exam",{"id":109,"doc_module":4,"doc_module_name":45,"category_name":110,"show_sort_weight":111,"slug":112},5,"Comic",60,"comic",{"id":114,"doc_module":4,"doc_module_name":45,"category_name":115,"show_sort_weight":116,"slug":117},6,"Technology",50,"technology",{"id":119,"doc_module":4,"doc_module_name":45,"category_name":120,"show_sort_weight":121,"slug":122},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":124,"slug":125},30,"research-report",{"id":127,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":28,"slug":129},9,"Religion & Spirituality","religion-spirituality",{"id":28,"doc_module":4,"doc_module_name":45,"category_name":131,"show_sort_weight":28,"slug":132},"World Cup","world-cup",{"id":134,"doc_module":4,"doc_module_name":45,"category_name":135,"show_sort_weight":134,"slug":136},10,"Lifestyle","lifestyle",{"id":138,"doc_module":4,"doc_module_name":45,"category_name":139,"show_sort_weight":109,"slug":140},19,"General","general"]