问题描述
我正在尝试使用 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 (将#修改为@)