In this post what I want to do is add some attributes to the Person
class of the previous post. The important thing to understand is that as you add attributes to a class, what you are doing in effect is adding additional constraints that will cause the number of objects that can be of that type to shrink. This is illustrated in the Venn diagram below. Note that our Person
class is now a subset of the intersection of the sets of objects with name
as attribute, surname
as attribute and age
as attribute.
If we now consider the OWL 2 representation of this class in Manchester syntax, it matches our Venn diagram exactly. It further states that name
, surname
and age
are properties. It states that individuals of the Person
class have a name
property of type xsd:string
, a surname
property of type xsd:string
and a age
property of type xsd:integer
.