简体   繁体   English

OWL 2 中两个域表达式之间的等价性

[英]Equivalence between two domain expressions in OWL 2

The text, Foundations of Semantic Web Technologies by Pascal Hitzler, Markus Krtzsch, and Sebastian Rudolph says on page 162. Pascal Hitzler、Markus Krtzsch 和 Sebastian Rudolph 的文本,语义 Web 技术的基础在第 162 页上说。

在此处输入图像描述

And this answer says,这个答案说,

You can write p has range D as您可以将p 的范围 D写为

⊤ ⊑ ∀pD ⊤ ⊑ ∀pD

which says that ⊤ (or owl:Thing , ie, everything) is such that every one of its values for p must be a D .它说 ⊤ (或owl:Thing ,即一切)是这样的,它对p的每个值都必须是D By using inverse properties, you can get domain axioms as well.通过使用逆属性,您也可以获得域公理。 p has domain C is equivalent to p 有域 C相当于

⊤ ⊑ ∀p -1 .C ⊤ ⊑ ∀p -1 .C

As we can see, the two expressions for range from the book and the answer match.正如我们所看到的,书中范围和答案的两个表达式匹配。 I can not find how the expressions for domain are equivalent.我找不到域的表达式是如何等价的。

In the expression from the mentioned answer,在上述答案的表达中,

⊤ ⊑ ∀p -1 .C ⊤ ⊑ ∀p -1 .C

if we apply ∀p to both the sides, we get,如果我们将∀p应用于两边,我们得到,

∀p.⊤ ⊑ C ∀p.⊤ ⊑ C

The above differs from the one given in the book.以上与书中给出的不同。

What is it I could be missing here?我在这里可能会错过什么?

In Description Logics, as well as in most logic (if not all), it is possible to express the same thing in different ways.在描述逻辑以及大多数逻辑(如果不是全部)中,可以用不同的方式表达同一事物。 In particular, DL general concept inclusion axioms XY can be equivalently expressed in different ways, such as X ⊓ ¬ Y ⊑ ⊥ or ⊤ ⊑ ¬ XY .特别是,DL 一般概念包含公理XY可以用不同的方式等价表示,例如X ⊓ ¬ Y ⊑ ⊥ 或 ⊤ ⊑ ¬ XY If X or Y use ∀ or ∃, then it is usually possible to convert the axiom to an equivalent one that use the other quantifier.如果XY使用 ∀ 或 ∃,那么通常可以将公理转换为使用另一个量词的等价公理。 One such example is:一个这样的例子是:

∃p.⊤ ⊑ C ∃p.⊤ ⊑ C

which is equivalent to:这相当于:

⊤ ⊑ ∀p .C ⊤ ⊑ ∀p - .C

My understanding of your confusion is the following: you correctly remarked that if XY holds then ∀ r .我对您的困惑的理解如下:您正确地指出,如果XY成立,那么 ∀ r X ⊑ ∀ r . X ⊑ ∀ r Y holds too for any r and any (atomic or complex) concepts X and Y . Y也适用于任何r和任何(原子或复杂)概念XY So you start from ⊤ ⊑ ∀p -1 .C to derive ∀p.⊤ ⊑ ∀p.∀p -1 .C, which is a correct entailment.所以你从 ⊤ ⊑ ∀p -1 .C 开始推导出 ∀p.⊤ ⊑ ∀p.∀p -1 .C,这是一个修正。 But you seem to assume that ∀p.∀p -1 .C is somehow equivalent to C, from which you conclude that ∀p.⊤ ⊑ C.但是您似乎认为∀p.∀p -1 .C 在某种程度上等同于C,从中您可以得出结论∀p.⊤ ⊑ Z0D61F8370CAD141D412F5ZB。 This is not correct.这是不正确的。

(As a side note, the classic notation for the inverse property of p is p ). (作为旁注, p的逆属性的经典表示法是p - )。

You must understand that if an element e of the universe does not have a relationship r with anything, then it is a member of the class ∀ r .你必须明白,如果宇宙中的元素e与任何东西都没有关系r ,那么它就是 class ∀ r的成员。 X (for instance, ∀hasChild.Human includes all those who do not have any children, so it includes at least every human beings). X (例如,∀hasChild.Human 包括所有没有孩子的人,因此它至少包括每个人)。 So, the class ∀p.∀p .C contains all things that do not have a relation p with anything, which have no reason to be in C.因此,class ∀p.∀p - .C 包含所有与任何事物都没有关系 p 的事物,它们没有理由在 Z0D61F8370CAD1D412F70B84D143E12 中QED. QED。

I should add a proof that ∃p.⊤ ⊑ C is equivalent to ⊤ ⊑ ∀p .C but I will leave this as an exercise to the reader;-)我应该添加一个证明 ∃p.⊤ ⊑ C 等价于 ⊤ ⊑ ∀p - .C 但我将把它留给读者作为练习;-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM