Can a class in one context be considered an instance in another?

北慕城南 提交于 2019-12-04 19:35:01

As AKSW said, why not? In fact, in RDF, all classes are instances (of rdfs:Class and of rdfs:Resource). In OWL 2 DL, a class IRI can be an instance IRI at the same time. However, the class identified by the class IRI cannot be an instance, and the instance identified by the instance IRI cannot be a class. That is to say that in OWL 2 DL, if an IRI identifies a class and an instance, it identifies two things, not one. A possibly surprising consequence of this is that the following is consistent:

ex:x1  a  owl:Thing, owl:Class .
ex:x2  a  owl:Thing, owl:Class;
    owl:sameAs  ex:x1;
    owl:disjointWith  ex:x1 .
ex:x3  a  ex:x1 .

So, ex:x1 (the instance) is the same thing as ex:x2 (the instance) but ex:x1 (the class) is different from ex:x2 (the class).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!