我正在开发一个本体,但我在具有不同URI的不同文件中有不同的部分,都以0 : {mid: "/m/0dzct", description: "face", score: 0.9535997, topicality: 0.9535997}
1 : {mid: "/m/0k0pj", description: "nose", score: 0.86705405, topicality: 0.86705405}
2 : {mid: "/m/04hgtk", description: "head", score: 0.8595986, topicality: 0.8595986}
3 : {mid: "/m/01kyr8", description: "darkness", score: 0.8346672, topicality: 0.8346672}
4 : {mid: "/m/0gjyk", description: "phenomenon", score: 0.7547649, topicality: 0.7547649}
5 : {mid: "/m/0dgw9r", description: "human", score: 0.73061824, topicality: 0.73061824}
6 : {mid: "/m/019nj4", description: "smile", score: 0.6036549, topicality: 0.6036549}
7 : {mid: "/m/01d74z", description: "night", score: 0.56837195, topicality: 0.56837195}
8 : {mid: "/m/0ds5b", description: "facial hair", score: 0.56621134, topicality: 0.56621134}
9 : {mid: "/m/01kv7h", description: "midnight", score: 0.5530265, topicality: 0.5530265}
开头。
我已经按照here的方式定义了http://www.semanticweb.org/lsarni/ontologies/
,现在它看起来像这样:
partOf
但我注意到我想要使用不同的部分,导入<owl:ObjectProperty rdf:about="http://www.semanticweb.org/lsarni/ontologies/curricula#partOf">
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2002/07/owl#topObjectProperty"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
<rdfs:comment xml:lang="es">Indica la composición entre individuos</rdfs:comment>
<rdfs:comment xml:lang="en">Represents part-whole relations</rdfs:comment>
<rdfs:label xml:lang="es">parteDe</rdfs:label>
</owl:ObjectProperty>
没有意义,因为我需要的只是curricula
。
有没有一种标准的处理方式,或者我应该创建一个新文件并将此对象属性移动到那里并在需要时导入它?
答案 0 :(得分:2)
实现这一目标的最佳方法是使用具有这些属性和类的本体并在需要时导入它 - OWL目前不支持仅导入本体的一部分。