On 22/09/16 08:41, neha gupta wrote:
What is the basic difference between model.createResource() and
Just to add to what Lorenz has already explained ...
In programming terms then model.createResource() does not change the
contents of the model, it just gives you a java object which could use
to lookup property values or add them.
OntModel.createOntClass() will change the model, it will add a statement
of the form:
 a owl:Class
 a rdfs:Class
depending on which language profile your OntModel is.