![]() |
rdfs:domain
and
rdfs:range
to globally constrain the use of
properties
carColor
and
eyeColor
rather than just
color
daml:Restriction
, e.g.
<rdfs:Class rdf:ID="MyClass">
<rdfs:subClassOf>
<daml:Restriction>
<daml:onProperty rdf:resource="#myProperty"/>
...
</daml:Restriction>
</rdfs:subClassof>
</rdfs:Class>
daml:Restriction
should specify
daml:onProperty
and only 1 of:
daml:toClass
cardinality
minCardinality
maxCardinality
toClass
and
cardinality
,
or
minCardinality
and
maxCardinality
,
you have to use 2 Restrictions
68 of 130 |