如何解决Jena Reasoner和属性推断
我正在尝试使用 Jena OWL reasoner,我使用的示例本体定义
<owl:ObjectProperty rdf:about="ex:model#index">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:domain rdf:resource="ex:model#Entity"/>
</owl:ObjectProperty>
<owl:Class rdf:about="ex:model#Entity">
<rdfs:subClassOf>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="ex:model#EntityType"/>
<owl:Restriction>
<owl:onProperty rdf:resource="ex:model#children"/>
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">10</owl:qualifiedCardinality>
<!-- All Entity2 items should transitivley get ex:model#index -->
<owl:onClass rdf:resource="ex:model#Entity2"/>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</rdfs:subClassOf>
</owl:Class>
我想为所有 skos 推断索引值:memberList 项目无法使其工作
- 这可能吗?
- 如何使用 Jena 实现这一目标。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。