I am using Individual#listProperties (inherited Resource#listProperties) to get the property instances (triples) for Individuals in an OntModel.  This method returns an iterator of Statements.  The statement objects are returned as ResourceImpl java objects, and the predicates are returned as PropertyImpl java objects.  What I would like to get as statement objects and predicates are the OntResource and OntProperty implementations from the OntModel.  I could find no methods such as Resource#isOntResource or Resource#asOntResource.  What is a good way to list property triples that maintains existing Ontology natures of statement objects, predicates, subjects?

Reply via email to