简体   繁体   English

是什么使OWL类匿名?

[英]what makes an OWL class anonymous?

I am reading a tutorial that says that this is an anonymous OWL class: 我正在阅读一个教程,说这是一个匿名的OWL类:

<owl:Class rdf:ID="Reptile"> 
       <rdfs:subClassOf rdf:resource="#Animal”/> 
       <rdfs:subClassOf rdf:resource="#OxygenUser”/> 
</owl :Class>

I know what an anonymous class is in Java. 我知道Java中是什么匿名类。 What makes this class anonymous in OWL? 是什么使该类在OWL中匿名? Is it anonymous because it does not have an RDFS:label statement like this: <rdfs:label>Reptile</rdfs:label> ? 因为它没有这样的RDFS:label语句,所以它是匿名的: <rdfs:label>Reptile</rdfs:label>吗?

OWL anonymous classes are classes without a name/identifier (URI). OWL匿名类是没有名称/标识符(URI)的类。 Usually it's an OWL class expression such as eats some Grass or Male and Female . 通常是OWL类的表达,例如eats some GrassMale and Female You use such expression in combination with named classes to create axioms. 您可以将此类表达式与命名类结合使用来创建公理。

Example of equivalent classes axioms using both named an anonymous classes (comments are shown by the # symbol): 同时使用两个匿名类的等效类公理的示例(注释由#符号显示):

# Named class (got a dereferencable URI)
Class: <http://www.example.org/Man>

# Named Class
Class: <http://www.example.org/Woman>

# Named class
Class: <http://www.example.org/Human>

    # The named class Human is equivalent 
    # to the anonymous class (class expression) Man or Woman
    EquivalentTo: <http://www.example.org/Man> or <http://www.example.org/Woman>

Do you have a source URL for the tutorial? 您有本教程的源URL吗? The example you quote does not contain any anonymous classes, so if that's a direct quote from the tutorial, it's giving out wrong information. 您引用的示例不包含任何匿名类,因此,如果这是教程中的直接引用,则会给出错误的信息。

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

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