I have used an object property O to relate Class A with Class B. I also have instance a and b of classes A and B respectively. I have used the same object property O to relate the instances a and b.
Again, I have used the same object property O to link a with c, where c is an instance of Class C which is not linked with class A or B using any object property.
Reasoners are still showing that the Ontology is Consistent.
My question is "Should this not be marked as inconsistent by the reasoners? Please enlighten me regarding your answer, whether the answer is 'Yes' or 'No' and the reason behind your answer"?
Thanks in advance.
You understand the semantics of domain and range axioms incorrectly. In the case of your object property
Oit merely states that whenever 2 individualsx,yare linked viaOit means that the reasoner will infer thatxis of typeAandyis of typeB.In the case linking individuals
aandcwherecis of typeCyou will notice thatcis also now inferred to be of typeB.If you want to see an inconsistency, what you can do is make classes
BandCdisjoint. Then linkingaandcviaOwill result in an inconsistency.BTW, if you are interested, on my blog I write about OWL2 ontologies and the use of reasoners and some of the counter intuitive ways in which reasoners can seem to "fail".