That was exactly what I needed. Thanks!

On Sep 23, 11:22 am, Scott Henninger <[email protected]>
wrote:
> Dean;  Both SPARQLMotion and SPIN could work.  For SPARQLMotion the
> best alternative is to turn the property transitive (In general, think
> inference instead of loops/recursion).  Something like the following:
>   ?node skos:broader* ?subnode
>
> Use '+' instead of '*' if you do not want to include the the node you
> start with.
>
> SPIN supports CONSTRUCT.  See the kennedysSPIN model in the library
> examples folder.  spin:rule generally use CONSTRUCT to make
> inferences.
>
> Using SPARQLMotion is probably the most direct way of specifying your
> copy semantics.
>
> -- Scott
>
> On Sep 23, 9:56 am, Dean Rzonca <[email protected]> wrote:
>
> > I need the ability to make a deep copy of a subtree in a hierarchy of
> > SKOS Concepts, for a copy-and-paste type feature.
>
> > I've searched for existing functions to do this, but I haven't found
> > anything. Unless I'm missing something, it seems like my alternatives
> > are:
>
> > 1) Write a recursive SPARQLMotion script to copy all of the nodes in
> > the subtree. Is this even possible?
> > 2) Write a recursive SPIN CONSTRUCT function to do the same, but SPIN
> > only supports SELECT and ASK queries.
>
> > Any ideas would be appreciated. Thank you.
--~--~---------~--~----~------------~-------~--~----~
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