What about using owl:sameAs?

-----Original Message-----
From: aarthi [mailto:[email protected]] 
Sent: Tuesday, April 16, 2013 7:18 AM
To: users
Subject: Re: isA relation in jena

ok........  thanksfor your reply lan...  i will read the content.  but i need 
to create the relation between two ontologies. consider ont1 and ont2 are the 
two ontologies. if both ont1 and ont2 have a class named employee.
And employee class in ont1 have a subclass named john. but ont2's employee 
class doesn't have that class. i need to specify a relation that john "is-a" 
subclass of ont2's employee class. how to do that using jena? is it possible?


On Tue, Apr 16, 2013 at 4:11 AM, Ian Dickinson <[email protected]> wrote:

> 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<http://je
> na.apache.org/documentation/ontology/index.html>
>
> Ian
>
>

Reply via email to