Add Some More Attributes

Person with added attributes

 

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.

 

Person with more attributes subset

 

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.

 

Add some attributes OWL

2 thoughts on “Add Some More Attributes

  1. Pingback: Object Oriented Features that OWL lacks « Henriette's Notes

  2. Pingback: Resolved: How to make an certain instance of a class to have only one predicate from the desired list of predicates? - Daily Developer Blog

Leave a Reply