In some places I use e.g. (resource instanceof Individual) , but in others it seems I need resource.canAs(Individual.class).  If you have brief guidelines on when to use what, I would appreciate that.  A specific case is punning in an OntModel.  Is that a case where canAs(Individual.class) and canAs(OntClass.class) should be used?

Reply via email to