Skip to main content

Table 2 OBO examples and corresponding OWL mappings

From: Mapping between the OBO and OWL ontology languages

OBO OWL
[Typedef]
id: part_of
name: part of
is_transitive: true
<owl:TransitiveProperty rdf:about="…#part_of">
<rdfs:label>part of</rdfs:label>
</owl:TransitiveProperty>
Example A Simple transformations: name, transitivity
[Term]
id: ZFA:0000434
name: skeletal system
is_a: ZFA:0001439
<owl:Class rdf:about="...#ZFA_0000434">
<rdfs:label>skeletal system</rdfs:label>
<rdfs:subClassOf rdf:resource="...#ZFA_0001439"/>
</owl:Class>
Example B Transformation of ‘is-a’
[Term]
id: ZFA:0001439
name: anatomical system
relationship: part_of ZFA:0001094
<owl:Class rdf:about= “…#ZFA_0001439”>
<rdfs:label>anatomical system</rdfs:label>
<rdfs:subClassOf><owl:Restriction>
<owl:onProperty rdf:resource = “…#part_of” />
<owl:someValuesFrom rdf:resource = “…#ZFA_0001094” />
</owl:Restriction></rdfs:subClassOf>
</owl:Class>
Example C Transformation of a relationship
[Term]
id: ZFA:0000437
name: stomach
is_obsolete: true
<owl:Class rdf:about="&oboInOwl;ObsoleteClass"/>
<owl:Class rdf:about="...#ZFA_0000437">
<rdfs:label>stomach</rdfs:label>
<rdfs:subClassOf rdf:resource="&oboInOwl;ObsoleteClass"/>
</owl:Class>
Example D Transformation of obsolete term
  1. OBO examples in this table have been taken from ZFA.