Hello,

I want to find all the cardinality restrictions in an ontology and know
their type (min, max, exact, and qualified or not). I am iterating through
all the restrictions in an OntModel. For each Restriction, I can check if
they are min, max, and exact and use "as..." methods to get the appropriate
class. However, there is no function to see if the Restriction is a
QualifiedRestriction. How do I check if a Restriction is a
QualifiedRestriction and how do I get it as a QualifiedRestriction if it is?

Thanks,
Rick

Reply via email to