Restricting object property domain/range

I apologize if this is not an appropriate forum to ask a question like
this. I'd like to know what is the recommended way for defining an object
property that should further restrict its domain and range when used with a
subclass.

Let's assume I have the classes Animal, Duck, and Cat. Duck and Cat are
both subclasses of Animal. Let's also assume I have an object property
called hasBiologicalMother defined with a domain and range of Animal.
However, a duck should only have another duck as its biological mother and
similarly for the cat.

What is the best way to deal with this?

Thanks in advance!

Ken

Received on Wednesday, 20 May 2020 08:26:47 UTC