Knowledge Systems Laboratory, Stanford University
11
Property Features
How many occupations does Joe have?
At most 1.
A height of Joe is “short”.
What is Joe?
A Person.
What is “short”?
A Height.
u
Declaring a maximum cardinality constraint for a property
ä
<Property ID = "
occupation
">
ä
<maxCardinality> 1 </maxCardinality>
ä
</Property>
u
Declaring a domain and range for a property
ä
<Property ID = "
height
">
ä
<domain resource = "#Person” />
ä
<range resource = "#Height” />
ä
</Property>