<owl:Class
rdf:ID="Person">
<rdfs:subClassOf
rdf:resource="#Animal"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:about="#name“ />
<owl:minCardinality rdf:datatype=
"http://www.w3.org/2001/XMLSchema#int">
1
</owl:minCardinality>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<Person
rdf:ID="Hideaki">
<rdfs:label>Hideaki</rdfs:label>
<rdfs:comment>Hideaki is a person. His name is Hideaki Takeda and
his age is 100.</rdfs:comment>
<name>Hideaki
Takeda</name>
<age
rdf:datatype="&xsd;positiveInteger">
100</age>
</Person>
</rdf:RDF>
<owl:Class
rdf:ID=“Animal">
<rdfs:label>Animal</rdfs:label>
<rdfs:comment>
This class of animals is
illustrative of
a number of ontological
idioms.
</rdfs:comment>
</owl:Class>
<owl:ObjectProperty
rdf:ID="name">
<rdfs:domain
rdf:resource="#Animal"/>
<rdfs:range
rdf:resource="&xsd;string" />
</owl:ObjectProperty>
<owl:DatatypeProperty
rdf:ID="age">
<rdfs:comment>
age is a DatatypeProperty whose range is xsd:decimal. age is also a UniqueProperty
(can
only have one age)
</rdfs:comment>
<rdf:type rdf:resource=
"&owl;FunctionalProperty" />
<rdfs:domain
rdf:resource="#Animal" />
<rdfs:range rdf:resource=
"&xsd;positiveInteger" />
</owl:DatatypeProperty>