W3C home > Mailing lists > Public > www-ws@w3.org > June 2003

sameValues in CompositeProcess

From: Jan Ortmann <j.ort@web.de>
Date: Mon, 2 Jun 2003 02:24:52 +0200
To: www-ws@w3.org
Message-Id: <200306020224.52617.j.ort@web.de>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:43 GMT