I want to create a new class "Adult" to my ontology by using a SWRL rule, i used this rule:
Person(?p), age(?p, true), greaterThan(age, 18) -> Adult(?p)
I also installed pellet reasoner to execute this rule but the class is not created after reasonig. So what is the correct way to use swrl rules in protege 4.3 to add new classes to the ontology?