问题描述
这是我用protege 5创建的本体.
This is my ontology created with protege 5 .
如果我使cl1
和cl2
不相交,则本体是不一致的,但是如果我取消选中is_friend_of
自反,则本体不再是不一致的.我的本体论怎么了?
If i make cl1
and cl2
disjoint, then the ontology is being inconsistent , but if i uncheck is_friend_of
reflexive , the ontology is not inconsistent any more . whats wrong with my ontology ?
我只希望cl1
类个人具有is_friend_of
属性.
I want only cl1
class individuals have is_friend_of
property.
推荐答案
:is_friend_of
的反射性对于不一致至关重要.
Reflexivity of :is_friend_of
is essential for inconsistency.
看看原因>本体解释不一致:
我将尝试将此解释翻译成英语(差):
I'll try to translate this explanation into (poor) English:
- 由于
:is_friend_of
是自反的,所以:c2_inst :is_friend_of :c2_inst
. - 由于
:is_friend_of
的域是:cl1
,因此c2_inst rdf:type :cl1
. - 也是,
c2_inst rdf:type :cl2
. - 但是
:cl1
和:cl2
是不相交的—矛盾.
- Since
:is_friend_of
is reflexive, then:c2_inst :is_friend_of :c2_inst
. - Since the domain of
:is_friend_of
is:cl1
, thenc2_inst rdf:type :cl1
. - Also,
c2_inst rdf:type :cl2
. - But
:cl1
and:cl2
are disjoint — contradiction.
实际上,每个反射性属性的域都是owl:Thing
.
作为一种解决方法,您可以取消选中is_friend_of
的自反性并以此方式定义:cl1
:
As a workaround, you could uncheck reflexivity of is_friend_of
and define :cl1
in this way:
Class: cl1
EquivalentTo:
is_friend_of some owl:Thing,
is_friend_of some Self
这篇关于蛋白质的反身性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!