I have a class Person, and a set of data properties: First_Name, Surname, Gender, DoB, Country_of_Birth. The data properties have their Domains set to Person. What i would
Yes, that is proper behavior due to Protege using the open world assumption rather than the closed world assumption of for example relational databases. Under the open world assumption nothing can be assumed that is not stated explicitly or can be derived from explicitly known information. When you create an individual (possibly of type Person
) for which you assigned no First_Name
, under the open world assumption the reasoner merely assumes that the First_Name
is not known, not that it does not exist (as is the case for the closed world assumption). Hence, the reason why the reasoner gives no inconsistency even though it infers that the individual must be of type Person
. To get an inconsistency you have to state that it is known that the individual is both a Person
and does not have a First_Name
. This can be achieved for an individual john
by asserting:
john Type Person
john Type First_Name max 0 xsd:string