I have an ontology written in OWL with Protege. But I did not find a solution to create relationships between classes. Of course, there is a subclass relationship, but I want to define my own relationships. Therefore, I have a class hierarchy (which consists of a βsubclassβ of links), but I want to create a relation, that is, has_Relation, to connect the two classes.
My goal is to write a java program in which I can get the information "which class is the parent class of the class?" and "to which class has_Relation connection?"
(I'm not talking about people - I'm just talking about classes)
Thanks so much for your help in advance!
Best regards Nathan
Natan source share