from: http://www.w3.org/TR/owl-ref/#sameAs-def
For individuals such as "people" this notion is relatively easy to understand. For example, we could state that the following two URI references actually refer to the same person: <rdf:Description rdf:about="#William_Jefferson_Clinton"> <owl:sameAs rdf:resource="#BillClinton"/> </rdf:Description> The owl:sameAs statements are often used in defining mappings between ontologies. It is unrealistic to assume everybody will use the same name to refer to individuals. That would require some grand design, which is contrary to the spirit of the web. In OWL Full, where a class can be treated as instances of (meta)classes, we can use the owl:sameAs construct to define class equality, thus indicating that two concepts have the same intensional meaning. An example: <owl:Class rdf:ID="FootballTeam"> <owl:sameAs rdf:resource="http://sports.org/US#SoccerTeam"/> </owl:Class> One could imagine this axiom to be part of a European sports ontology. The two classes are treated here as individuals, in this case as instances of the class owl:Class. This allows us to state that the class FootballTeam in some European sports ontology denotes the same concept as the class SoccerTeam in some American sports ontology. Note the difference with the statement: <footballTeam owl:equivalentClass us:soccerTeam /> which states that the two classes have the same class extension, but are not (necessarily) the same concepts. NOTE: For details of comparison of URI references, see the section on RDF URI references in the RDF Concepts document [RDF Concepts<http://www.w3.org/TR/owl-ref/#ref-rdf-concepts> ]. On Tue, Apr 16, 2013 at 7:51 PM, Ed Swing <[email protected]> wrote: > 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 > > > > > > -- Regards, Daryl
