Jim;  It's really hard to say without seeing the script.  I think the
key here that IterateOverSelect applies a query to a set of triples
and iterates the sub-script (sm:body) over the result set (not the
triples), binding variables to a result set row on each iteration.

I'm not sure what you mean by "this did not appear to work", but the
general technique would be to load the triples once and pass them on
to the modules you need.  You can use multiple sm:next edges to pass
the same set of triples on to different modules, including multiple
IterateOverSelect modules, each of which apply separate queries to the
input triples.

Let us know if that helps...
-- Scott

On May 11, 1:54 pm, James A Miller <james_a_mil...@raytheon.com>
wrote:
> Scott,
>
> I was trying to improve the performance of my multiple-spreadsheet ingest
> script in SparqlMotion.
>
> I am importing several fairly large OWL files, which are combined with the
> spreadsheet OWL data, and then using Construct to construct the triples
> that I need.  I am doing a replace=true on the Construct, because I only
> want to write out the triples that I create, not the ones in the imported
> OWL files.
>
> My question is this:  it seems that a part of the performance hit I am
> seeing could be the result of re-loading all of the OWL files during each
> iteration.  I tried moving this load so that it happens only once before
> the iterator, but this did not appear to work, and I was wondering if the
> Construct's replace=true causes all data to get removed, so that the next
> pass through the data no longer remembers the data from that initial load.
>  If so, is there a way to load data somewhere that is not lost during the
> remainder of the processes?
>
> Jim Miller
> Principal Software Engineer
> Raytheon NCS, Largo, FL
> (727)768-8942
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to topbraid-composer-users@googlegroups.com
To unsubscribe from this group, send email to 
topbraid-composer-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to