简体   繁体   English

Protege 4.1中的OWL本体和不良个体不一致

[英]Inconsistent OWL ontology and bad individuals in Protege 4.1

I designed for homework an OWL ontology using Protege 4.1 about creatures (creatures classification), after reasoning with Hermit or Fact i'm getting inconsistent ontology, bad individuals , but I'm very new to OWL ontologies and don't understand how to solve these errors about inconsistency and individuals. 我设计了使用Protege 4.1关于生物(生物分类)的OWL本体作业,在使用隐士事实推理后我得到了inconsistent ontology, bad individuals ,但我对OWL本体很新,不懂如何解决关于不一致和个人的这些错误。

Edit1 : 编辑1


My Class hierarchy looks like this: 我的类层次结构如下所示:

 Thing Plante Vietuitoare VietuitoareDenumireStiintifica Specii Vertebrate Reptile Pesti Pasari Mamifere Nevertebrate Moluste Interertebrate Insecte Hrana Ierbivor Carnivor Omnivor Deplasare Inot Taratoare Picioare Biped Patruped Poliped Aripi Habitat Acvatic Campie Padure Munte PartiAnatomice SiraSpinarii Aripa InvelisExterior Cochilie Solzi Blana Pene RelatieAsociere RelatieCuOm Domestice Salbatice RelatieCuAlteAnimale Singuratate GrupuriMici Haite Carduri GrupuriMari Stoluri Colonii 


These are the axioms from the Hot Spot tab in the Explanation box : 这些是解释框中 热点选项卡的公理

 Carnivor EquivalentTo (Mananca only Vietuitoare) or (Mananca only (faceParteDin some Vietuitoare)) Ierbivor EquivalentTo (Mananca only Plante) or (Mananca only (faceParteDin some Plante)) 


Bellow are two links with the .owl file: Bellow是.owl文件的两个链接:


Thanks in advance, every advice and/or hint are very welcomed! 在此先感谢,非常欢迎每一个建议和/或提示!

I'm not sure about the correctness of the following statement: 我不确定以下声明的正确性:

Vietuitoare
    and (areSiraSpinarii exactly 1 Vietuitoare)

Using Protege 4.2 you can explore the reasons for the inconsistency via various forms of explanations (eg "laconic"). 使用Protege 4.2,您可以通过各种形式的解释(例如“简洁”)来探讨不一致的原因。 Maybe this screenshot helps: 也许这个截图有助于:

在此输入图像描述

The guaranteed way to remove any reason for inconsistency if to remove all the individuals from the ontology, eg place the individuals into a separate module so that they can be easily plugged in and out. 如果要从本体中删除所有个体,请保留消除任何不一致原因的方法,例如将个人放入单独的模块中,以便可以轻松插入和拔出。 This would not solve your modeling error but would help you to find it faster. 这不会解决您的建模错误,但可以帮助您更快地找到它。 Also, are you sure that you want to model the animals as individuals? 此外,您确定要将动物塑造为个体吗?

If you use Protege 4.1 you can see the inconsistent individuals and axioms in the explanation box (Experimental Protege Explanation Heuristics). 如果您使用Protege 4.1,您可以在解释框中看到不一致的个体和公理(实验性抗原解释启发式)。 The axioms under the tab Hot spots are likely to be the one causing problem, so you should revise them first. 选项卡下的公理热点很可能是导致问题的原因,因此您应该先修改它们。

Looking at the justifications that Kaarel posted, we can conclude that Interertebrate is an empty class, so it cannot have instances. 看看Interertebrate发布的理由,我们可以得出结论, Interertebrate是一个空类,所以它不能有实例。

The reason is the following: an Interertebrate is also a Vietuitoare (from axiom Interertebrate SubClassOf Vietuitoare ); 原因如下: Interertebrate也是Vietuitoare (来自axiom Interertebrate SubClassOf Vietuitoare ); areSiraSpinarii is Functional, so either an individual has exactly 1 relationship involving property areSiraSpinarii or it does not have it at all (ie, exactly 0). areSiraSpinarii是功能性的,所以要么一个人只有一个涉及属性areSiraSpinarii关系,要么根本就没有它(即正好是0)。 So a Vietuitoare is either a Vertebrate or a Nevertebrate , by virtue of the two axioms Vietuitoare and (areSiraSpinarii exactly 1 Vietuitoare) SubClassOf Vertebrate and Vietuitoare and (areSiraSpinarii exactly 0 Vietuitoare) SubClassOf Nevertebrate . 因此Vietuitoare或者是VertebrateNevertebrate ,凭借两个公理Vietuitoare and (areSiraSpinarii exactly 1 Vietuitoare) SubClassOf VertebrateVietuitoare and (areSiraSpinarii exactly 0 Vietuitoare) SubClassOf Nevertebrate But both Vertebrate and Nevertebrate are disjoint from Interertebrate . 但两者VertebrateNevertebrate是不相交Interertebrate So we are saying that an Interertebrate cannot be a Vertebrate nor a Nevertebrate and at the same time we state that Interertebrate must be either a Vertebrate or a Nevertebrate . 所以我们说,一个Interertebrate不能是Vertebrate ,也不是Nevertebrate ,并在同一时间,我们指出Interertebrate必须是VertebrateNevertebrate

Obviously there must be something wrong out there (but I cannot help, I don't know what the terms mean). 显然那里肯定有一些错误(但我无能为力,我不知道这些术语的意思)。

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

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