[英]What is the difference between owl:equivalentClass and rdfs;subClassOf when making owl:Restrictions
I need to create theset that is restricted to items that are only delivered to Italy.我需要创建仅限于仅运送到意大利的物品的集合。
I don't fully understand the difference between owl:equivalentClass
and rdfs:subClassOf
in the context of my problem.在我的问题的上下文中,我不完全理解owl:equivalentClass
和rdfs:subClassOf
之间的区别。
:deliversToItaly owl:equivalentClass [a owl:restriction;
owl:ownProperty ebay:shipsTo;
owl:allValuesFrom geo:Italy].
vs.对比
:deliversToItaly rdfs:subClassOf [a owl:restriction;
owl:ownProperty ebay:shipsTo;
owl:allValuesFrom geo:Italy].
Could someone explain the difference between the two, and possibly explain it in context between the two examples I have provided?有人可以解释两者之间的区别,并可能在我提供的两个示例之间的上下文中解释它吗?
Semantically, you are defining the class as Primitive (subClassOf) versus Defined (equivalentClass).从语义上讲,您将 class 定义为 Primitive (subClassOf) 与 Defined (equivalentClass)。 The main difference is in inferencing in one or both directions.主要区别在于一个或两个方向的推理。
The Primitive class is single direction:原语 class 是单向的:
A Defined class is used when you are confident that you have necessary and sufficient rules for class membership - otherwise Primitive is used for necessary rules only.当您确信您拥有 class 成员资格的必要且充分的规则时,使用定义的 class - 否则 Primitive 仅用于必要的规则。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.