The definition of a processor.
- Bundle path:
Processors should be described in the same file as their containing workflow.
Each processor must have a scufl2:name, which uniquely identifies this processor within its owning workflow.
Processors are globally identified as
Within the workflow bundle the processors should be linked to relatively, for instance
within a workflow file, or
<workflow/Helloworld/processor/Hello> within a profile file.
@base <workflow/Helloworld/> @prefix scufl2: <http://ns.taverna.org.uk/2010/scufl2/ontology/> . <processor/Hello> a scufl2:Processor ; scufl2:name "Hello" ; scufl2:inputProcessorPort <processor/Hello/in/name> ; scufl2:outputProcessorPort <processor/Hello/out/greeting> ; scufl2:dispatchStack <http://ns.taverna.org.uk/2010/scufl2/taverna#defaultDispatchStack> ; scufl2:iterationStrategyStack (<processor/Hello/iterationStrategy/0>) . <processor/Hello/in/name> a scufl2:InputProcessorPort ; scufl2:name "name"; scufl2:portDepth 0 ; scufl2:granularPortDepth 0 . <processor/Hello/out/greeting> a scufl2:OutputProcessorPort ; scufl2:name "greeting" . ]]>
This example defines the processor "Hello" in the workflow "Helloworld". It contains one processor input port "name" and one processor output port "greeting". Additionally the processor has a dispatch stack and an iteration strategy stack.
The nested resources for this workflow, such as InputProcessorPort, OutputProcessorPort, DispatchStack,
IterationStrategyStack and their children should be described in the same file as owning workflow itself.
Additional metadata should be added to an
- scufl2:name (required) gives the programmatic short-name for this processor within this particular workflow. This must be unique among the other processors.
- scufl2:inputProcessorPort (optional) All processor input ports defined for this processor.
- scufl2:outputProcessorPort (optional) All processor output ports defined for this processor.
- scufl2:dispatchStack (optional) The dispatch stack for this processor.
- scufl2:iterationStrategyStack (optional) The IterationStrategyStack, required if more than 1 input is connected
All nested processor resources should also be defined in the same archive file as this workflow. Their URIs must be relative to this processor, their type and scufl2:name. So for instance <processor/Hello/out/greeting> is a scufl2:OutputProcessorPort in <processor/Hello>, and has a scufl2:name "greeting".