OWL中的属性可以同时是objectProperty和datatypeProperty吗
Can a property in OWL be objectProperty and datatypeProperty at the same time
我想从 OWL 中的 XSD 表示以下 xs:simpleType:
<xs:simpleType name="test">
<xs:union memberTypes="xs:normalizedString">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="123"/>
<xs:enumeration value="456"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
我用等价的Class表示xs:enumeration:
<owl:Class rdf:about="testEn">
<owl:equivalentClass>
<owl:Class>
<owl:oneOf rdf:parseType="Collection">
<rdf:Description rdf:about="testEn_123"/>
<rdf:Description rdf:about="testEn_456"/>
</owl:oneOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
和linkxs:normalizedString以及Class和unionOf
。
xs:normalizedString总不能用OWL表示成Class吧?所以我有一个 属性 同时是 objectProperty 和 datatypeProperty。
不在 OWL 2 DL 中,参见 https://www.w3.org/TR/owl2-new-features/#F12:_Punning
...However, OWL 2 DL still imposes certain restrictions: it requires that a name cannot be used for both a class and a datatype and that a name can only be used for one kind of property. ...
我想从 OWL 中的 XSD 表示以下 xs:simpleType:
<xs:simpleType name="test">
<xs:union memberTypes="xs:normalizedString">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="123"/>
<xs:enumeration value="456"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
我用等价的Class表示xs:enumeration:
<owl:Class rdf:about="testEn">
<owl:equivalentClass>
<owl:Class>
<owl:oneOf rdf:parseType="Collection">
<rdf:Description rdf:about="testEn_123"/>
<rdf:Description rdf:about="testEn_456"/>
</owl:oneOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
和linkxs:normalizedString以及Class和unionOf
。
xs:normalizedString总不能用OWL表示成Class吧?所以我有一个 属性 同时是 objectProperty 和 datatypeProperty。
不在 OWL 2 DL 中,参见 https://www.w3.org/TR/owl2-new-features/#F12:_Punning
...However, OWL 2 DL still imposes certain restrictions: it requires that a name cannot be used for both a class and a datatype and that a name can only be used for one kind of property. ...