[英]What is the usage of Restriction in Jena of OWL?
If I define a owl class A
with a mincardinalityRestriction
(for example, at least K) of a property, does it mean I have to add at least K values to the property when I create a individual of this class A
? 如果我使用
mincardinalityRestriction
(例如,至少K个)定义猫头鹰类A
,这是否意味着在创建此类A
的个体时,我必须向该属性添加至少K个值? If I ignore this restriction, can the individual be created successfully? 如果我忽略此限制,是否可以成功创建个人?
Yes. 是。 A reasoner does not require the assertions to be available, it just needs to know that the restriction exists.
推理程序不需要断言可用,只需要知道存在限制即可。
By "created successfully" I assume you mean "the ontology is consistent". 假设“成功创建”是指“本体是一致的”。 Jena (and most other APIs) will allow you to create inconsistent ontologies "successfully", as in, without any errors.
耶拿(和大多数其他API)将允许您“成功”创建不一致的本体,就像在其中一样,没有任何错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.