I create OntModel with OWL_DL_MEM_RDFS_INF: ontModel = 
ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM_RDFS_INF, null);
It works more or less. However, I get inconsistent results from the 
following:
Individual individual = ontModel.getIndividual(individualName);

I run it with the same ontologies; sometimes it returns an object, and 
sometimes it returns null. 
I would appreciate any insight in what I might be doing wrong, or what I 
may not but should be doing.
David Makovoz 

Reply via email to