Yoni;  Yes, there are ways to do this.  It really depends on how you
have set up your ontology.  I take it the relations you want, for
example, are:
  :Mary :hasParent :Beth
  :Beth :hasChild Mary

I'm not entirely clear, but it seems to me that you have all of
the :hasChild relations set up and want to fill in the :hasParent
relations in one action?

If so, there are a few ways to do this.  One is to define ":hasChild
owl:inverseOf :hasParent" and run inferences.  The following query
also does the same thing:

CONSTRUCT
{  ?child :hasParent ?parent .
}
WHERE
{  ?parent :hasChild ?child .
}

You can then assert the inferences.

-- Scott

On May 26, 10:10 am, Yoni <[email protected]> wrote:
> Hi Guys,
>
> I am creating an ontology with hierarchies (i.e. parent - child).
>
> I am trying to choose the parent , the realtion (hasParent), and all
> of the children  - and to add the relation to the parent to all of the
> children.
>
> I would like to be able to do it in one action, since there may be
> many children and setting the parent for each child individualy may
> take hours - (That's why I cannot do it thru each of the childrens'
> property page or thru the instances grid)
>
> An option that I tried is to use the Association view (for the parent
> and the hasParent relation) but I only managed to add a single child
> at a time.
>
> Is there a way to do it?
>
> Thanks for your help.
>
> Yoni
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to