For example, I have added some classes for an individual using rules.
emplyee 1 is type of Manager, Programmer, Worker.

Can I replace these classes with one class like
if (empl1.hasOntclass(manager) && (emp1.hasOntClass(programmer) &
(emp1.hasOntClass(worker)  then emp1 should be type of one class Employee
and replace/remove these three classes.?

There is one method, I dont know if it is suitable here to apply?

Individual.removeOntClass(Resource)
<https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/ontology/Individual.html#removeOntClass-org.apache.jena.rdf.model.Resource->

Reply via email to