Hello folks,

I have a problem with the following code:

Individual eventIndividual = eventOntModel.getIndividual(instanceNamespace + eventType);
eventIndividual.addProperty(hasState, inactiveOntResource);

The problem is, that after the addProperty-call, no property is added :-(

When doing this with the initial eventIndividual I got from

Individual eventIndividual = eventOntModel.createIndividual(instanceNamespace + eventType, eventClass);

it works well.

Could you please help me out soonly, time is running a little bit ;-)

Thanks!

Bye Dennis

Reply via email to