2011-01-30 60 views
0

我想知道如何定义OWL声明。 RDF使用三个三元组; RDF和OWL有什么区别?如何创建ontolology声明?

+0

我怀疑@shilpa想知道如何翻译在RDF定义OWL的声明。 – McDowell 2011-01-30 14:34:58

+0

GUD晚上先生....我想知道如何定义猫头鹰声明,因为我是RDF使用三个谓词来定义语句较早研究.... plz帮助我 – shilpa 2011-02-05 16:15:05

回答

0

OWL语句是使用谓词从定义的OWL词汇(甲基)描述了词汇只是RDF陈述。

在RDF/XML,这似乎是你的目标,这里是一个对象属性的定义的例子。

<!-- http://jug.basistech.com/2011/01/rex-entity#withinOrganization --> 

<owl:ObjectProperty rdf:about="&rex;withinOrganization"> 
    <rdfs:label>withinOrganization</rdfs:label> 
    <rdfs:comment>Determines in which organization is the position</rdfs:comment> 
    <rdfs:domain rdf:resource="&rex;JobPosition"/> 
    <rdfs:range rdf:resource="&rex;Organization"/> 
    <rdfs:subPropertyOf rdf:resource="&rex;ruleRelationship"/> 
</owl:ObjectProperty> 

以上是原始三元组的一部分,在某些方面更清晰。

<http://jug.basistech.com/2011/01/rex-entity#withinOrganization> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.w3.org/2002/07/owl#ObjectProperty> 
    . 
<http://jug.basistech.com/2011/01/rex-entity#withinOrganization> 
<http://www.w3.org/2000/01/rdf-schema#label> "withinOrganization" 
. 
<http://jug.basistech.com/2011/01/rex-entity#withinOrganization> 
<http://www.w3.org/2000/01/rdf-schema#comment> 
    "Determines in which organization is the position" . 

在实际应用中,如果你想弥补的本体论,或(例如)耶拿,如果你想这样做在Java代码下载门生或TopBraid。