On 16/04/13 12:05, aarthi wrote:
how to create isA relation between two classes in an ontology?     Ex  Cat
isA mammal.........   can anyone help me to do this in jena?
In OWL, the isA relationship is expressed as rdfs:subClassOf. If you have an OntClass object, it has various methods for adding, removing, getting and listing both sub-class and super-class relationships between classes. See here for details:

http://jena.apache.org/documentation/ontology/index.html

Ian

Reply via email to