Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Comparing individuals

Martin O'Connor martin.oconnor at stanford.edu
Mon Aug 6 11:37:50 PDT 2007


You can use the owl:sameAs construct:

  <Unit rdf:ID="meter">
    <owl:sameAs>
      <Unit rdf:ID="metre"/>
    </owl:sameAs>
  </Unit>

In the Protege-OWL GUI, owl:sameAs can be accessed by switching to the 
triples view in the individuals tab.

You could also do it in SWRL with a rule of the form:

-> sameAs(meter, metre)

though it makes more sense to do it directly in OWL.

Martin


Ely Edison Matos wrote:

> Hello semantic fellows,
> I have a begginer's doubt, i hope you can help. I need to know thar 2 
> individuals are "equals" or "the same" or "equivalent" in a owl 
> ontology. Sample:
>  
>   <owl:Ontology rdf:about=""/>
>   <owl:Class rdf:ID="Measure"/>
>   <owl:Class rdf:ID="Unit"/>
>   <owl:ObjectProperty rdf:ID="measures">
>     <rdfs:range rdf:resource="#Measure"/>
>     <rdfs:domain rdf:resource="#Unit"/>
>   </owl:ObjectProperty>
>   <Unit rdf:ID="meter">
>     <measures>
>       <Measure rdf:ID="distance"/>
>     </measures>
>   </Unit>
>   <Unit rdf:ID="metre">
>     <measures rdf:resource="#distance"/>
>   </Unit>
>  
> How can I test (or "discover") that "meter" and "metre" are the same 
> (cause it shares the same value to ObjectProperty, in this case). Do i 
> need a some closure at class definition? Can I use a reasoner or SWRL?
>  
> Thanks,
> Ely
> Master Degree Student
> Juiz de Fora - Brazil
>
>------------------------------------------------------------------------
>
>_______________________________________________
>protege-owl mailing list
>protege-owl at lists.stanford.edu
>https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
>Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>  
>




More information about the protege-owl mailing list