0
我是OWL是新手,我已經定義使用OWL DL的節點定義一個節點,作爲使用OWL本體
<Declaration>
<Class IRI="#node"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#leftChild"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#parent"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#rightChild"/>
</Declaration>
<InverseObjectProperties>
<ObjectProperty IRI="#parent"/>
<ObjectProperty IRI="#leftChild"/>
</InverseObjectProperties>
<InverseObjectProperties>
<ObjectProperty IRI="#parent"/>
<ObjectProperty IRI="#rightChild"/>
</InverseObjectProperties>
<FunctionalObjectProperty>
<ObjectProperty IRI="#leftChild"/>
</FunctionalObjectProperty>
<FunctionalObjectProperty>
<ObjectProperty IRI="#parent"/>
</FunctionalObjectProperty>
<FunctionalObjectProperty>
<ObjectProperty IRI="#rightChild"/>
</FunctionalObjectProperty>
<ObjectPropertyDomain>
<ObjectProperty IRI="#leftChild"/>
<Class IRI="#node"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#parent"/>
<Class IRI="#node"/>
</ObjectPropertyDomain>
<ObjectPropertyDomain>
<ObjectProperty IRI="#rightChild"/>
<Class IRI="#node"/>
</ObjectPropertyDomain>
<ObjectPropertyRange>
<ObjectProperty IRI="#leftChild"/>
<Class IRI="#node"/>
</ObjectPropertyRange>
<ObjectPropertyRange>
<ObjectProperty IRI="#parent"/>
<Class IRI="#node"/>
</ObjectPropertyRange>
<ObjectPropertyRange>
<ObjectProperty IRI="#rightChild"/>
<Class IRI="#node"/>
</ObjectPropertyRange>
`
和我想定義的概念爲根,分支廣告離開,從而以根,枝和葉的形式推斷和分離節點,因爲根將沒有父節點,節點的父節點至少有一個孩子,節點只有父節點和沒有子節點,或者孤兒節點沒有父節點兒童。