Hi guys,

I would like to know :

1 - In a OntModel class the listHierarchyRootClasses method enables a
Top-Down navegation. But how can I obtain the leaves of my structure ? How
can I build a bottom-up strategy ?

2 - If I have in my model transitive properties for example:  "IsA,
MemberOf, PartOf" the listSubClasses method is not enough to get this
conections. How can I use the inferece machine to summarize a Model
containing transitive properties ? I build a model automatically. In this
process many redundant statements are added.

Example:

dog IsA mammal
mammal IsA animal
dog IsA animal (This is a redundant statement and do not necessary)

listHierarchyRootClasses will return "animal" - OK, but "mammal" will not
be returned by the listSubClasses method, the "IsA" transitive propertie
not be recognized in the navegation :(.

How Can I generate a minimum graph from my example ?


Thank you so much!
José



-- 
"Nor better, nor worse... just different."

Reply via email to