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] Why does OWLModel.getCommonSuperclass return only a single value?

Timothy Redmond tredmond at stanford.edu
Wed Aug 1 11:28:51 PDT 2007


This is clearly correct.  The implementation underscores what you  
have said.  It ends with a line

     return  commonSuperClasses.iterator().next();

Would it be useful to have getCommonSuperclasses method?

-TImothy


On Jul 30, 2007, at 11:56 AM, Thomas Russ wrote:

> Why does OWLModel.getCommonSuperclass return only a single value?
>
> I would think that with a general lattice structure, that this should
> return a collection of the the most specific superclasses, since
> there isn't necessarily a single one.  Consider the following:
>
>
>
>
> Thing
>    A
>      X
>      Y
>    B
>      X
>      Y
>
> I would expect that the answer to the most specific common superclass
> would be {A, B} and not arbitrarily picking one of A or B as the
> least common superclass.  Perhaps there should be a
> getCommonSuperclasses method that returns a collection?
>
>
>
> _______________________________________________
> 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