sameValues in CompositeProcess

Hi all.

My question is about the sameValues construct for composing processes. I would 
like to know if it is possible to use the same process twice in a sequence 
but with different sameValue-mappings.
Lets assume we have a service that does some text-search on webpages.  Now we 
might want to use this service with other languages as well. So what we do is 
to translate our query, get a result, and than translate the result:
Translate -> Query -> Translate.
Now the ouput of the first Translate process is the input of the Query process 
whereas the output of the second Translate process is the output of the 
entire composite process.
Is there a way to write this as one sequence or do I have to split this 
sequence into two CompositeProcesses, e.g. (Translate->Query)->Translate
or two use the SimpleProcess-construct to encapsulate and rename one of the 
Translate processes?

Regards, 

Jan Ortmann,

University of Hamburg,
Germany

Received on Sunday, 1 June 2003 20:26:38 UTC