eu.larkc.shared
Class SampleWorkflows

java.lang.Object
  extended by eu.larkc.shared.SampleWorkflows

public class SampleWorkflows
extends java.lang.Object

A collection of generated example workflows for testing purposes.

Author:
Christoph Fuchs, Norbert Lanzanasto

Constructor Summary
SampleWorkflows()
           
 
Method Summary
static SetOfStatements getMinimalWorkflowDescription()
          Minimal workflow description.
static SetOfStatements getSimpleGatResourecDescription()
          Simple GAT resource description.
static SetOfStatements getSimpleWorkflowDescription()
          Simple, linear workflow description.
static SetOfStatements getSimpleWorkflowDescriptionWithDeploymentDescription()
          Simple, linear workflow description.
static SetOfStatements getSimpleWorkflowDescriptionWithMultipleParametersPerPlugin()
          Simple, linear workflow description.
static SetOfStatements getSimpleWorkflowDescriptionWithMultiplePipes()
          Workflow description that describes a workflow consisting of five plug-ins with two pipes.
static SetOfStatements getSimpleWorkflowDescriptionWithParameters()
          Simple, linear workflow description.
static SetOfStatements getSimpleWorkflowDescriptionWithPipe()
          Simple, linear workflow description.
static SetOfStatements getSimpleWorkflowDescriptionWithPluginWithoutInput()
          Workflow description that describes a workflow consisting of three plug-ins with one plugin that does not have any input.
static SetOfStatements getSimpleWorkflowDescriptionWithWaitForTwoMergeBehavior()
          Workflow description that describes a workflow consisting of five plug-ins and the last plug-in waits for two of the three inputs.
static SetOfStatements getWorkflowDescriptionWithCycles()
          Constructs a workflow containing cycles.
static SetOfStatements getWorkflowDescriptionWithMultipleEndpoints()
          Constructs a workflow with multiple endpoints.
static SetOfStatements getWorkflowDescriptionWithMultipleFirstPlugins()
          Constructs a workflow with multiple first plug-ins.
static SetOfStatements getWorkflowDescriptionWithMultipleLastPlugins()
          Constructs a workflow with multiple last plug-ins.
static SetOfStatements getWorkflowDescriptionWithMultiThreading()
          Constructs a workflow with one plugin which can be splitted.
static SetOfStatements getWorkflowDescriptionWithSPARQLEndpoint()
          Constructs a workflow with a single SPARQL endpoint.
static SetOfStatements getWorkflowDescriptionWithSplitsAndMerges()
          Constructs a workflow with splits and merges in it.
static SetOfStatements spyrosSimpleWorkflowWithEmbeddedQuery()
          A very simple example workflow by Spyros with the query embedded.
static SetOfStatements spyrosSimpleWorkflowWithEndpoint()
          A very simple example workflow by Spyros without the embedded query but with a SPARQL endpoint.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleWorkflows

public SampleWorkflows()
Method Detail

getMinimalWorkflowDescription

public static SetOfStatements getMinimalWorkflowDescription()
Minimal workflow description.

Returns:
a mini-workflow which is as minimal as possible.

getSimpleWorkflowDescription

public static SetOfStatements getSimpleWorkflowDescription()
Simple, linear workflow description. Describes a workflow consisting of three plug-ins.

Returns:
the workflow as a set of RDF statements

getSimpleWorkflowDescriptionWithParameters

public static SetOfStatements getSimpleWorkflowDescriptionWithParameters()
Simple, linear workflow description. Describes a workflow consisting of three plug-ins where two of them have parameters.

Returns:
the workflow as a set of RDF statements

getSimpleWorkflowDescriptionWithMultipleParametersPerPlugin

public static SetOfStatements getSimpleWorkflowDescriptionWithMultipleParametersPerPlugin()
Simple, linear workflow description. Describes a workflow consisting of three plug-ins where two of them have parameters two blank nodes for plugin parameters each.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithMultipleLastPlugins

public static SetOfStatements getWorkflowDescriptionWithMultipleLastPlugins()
Constructs a workflow with multiple last plug-ins.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithMultipleFirstPlugins

public static SetOfStatements getWorkflowDescriptionWithMultipleFirstPlugins()
Constructs a workflow with multiple first plug-ins.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithCycles

public static SetOfStatements getWorkflowDescriptionWithCycles()
Constructs a workflow containing cycles.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithSplitsAndMerges

public static SetOfStatements getWorkflowDescriptionWithSplitsAndMerges()
Constructs a workflow with splits and merges in it.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithSPARQLEndpoint

public static SetOfStatements getWorkflowDescriptionWithSPARQLEndpoint()
Constructs a workflow with a single SPARQL endpoint.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithMultipleEndpoints

public static SetOfStatements getWorkflowDescriptionWithMultipleEndpoints()
Constructs a workflow with multiple endpoints.

Returns:
the workflow as a set of RDF statements

spyrosSimpleWorkflowWithEmbeddedQuery

public static SetOfStatements spyrosSimpleWorkflowWithEmbeddedQuery()
A very simple example workflow by Spyros with the query embedded. See larkc-wp5 conversation from July 30.

Returns:
the workflow as a set of RDF statements

spyrosSimpleWorkflowWithEndpoint

public static SetOfStatements spyrosSimpleWorkflowWithEndpoint()
A very simple example workflow by Spyros without the embedded query but with a SPARQL endpoint. See larkc-wp5 conversation from July 30 and the one from 26 August 2010.

Returns:
the workflow as a set of RDF statements

getWorkflowDescriptionWithMultiThreading

public static SetOfStatements getWorkflowDescriptionWithMultiThreading()
Constructs a workflow with one plugin which can be splitted.

Returns:
The workflow.

getSimpleWorkflowDescriptionWithPipe

public static SetOfStatements getSimpleWorkflowDescriptionWithPipe()
Simple, linear workflow description. Describes a workflow consisting of three plug-ins with one pipe.

Returns:
the workflow as a set of RDF statements

getSimpleWorkflowDescriptionWithDeploymentDescription

public static SetOfStatements getSimpleWorkflowDescriptionWithDeploymentDescription()
Simple, linear workflow description. Describes a workflow consisting of three plug-ins. In addition, one plug-ins is further specified on which resource to be exectued

Returns:
the workflow as a set of RDF statements

getSimpleGatResourecDescription

public static SetOfStatements getSimpleGatResourecDescription()
Simple GAT resource description. Describes resource properties

Returns:
the resource parameters as a set of RDF statements

getSimpleWorkflowDescriptionWithMultiplePipes

public static SetOfStatements getSimpleWorkflowDescriptionWithMultiplePipes()
Workflow description that describes a workflow consisting of five plug-ins with two pipes.

Returns:
the workflow as a set of RDF statements

getSimpleWorkflowDescriptionWithPluginWithoutInput

public static SetOfStatements getSimpleWorkflowDescriptionWithPluginWithoutInput()
Workflow description that describes a workflow consisting of three plug-ins with one plugin that does not have any input.

Returns:
the workflow as a set of RDF statements

getSimpleWorkflowDescriptionWithWaitForTwoMergeBehavior

public static SetOfStatements getSimpleWorkflowDescriptionWithWaitForTwoMergeBehavior()
Workflow description that describes a workflow consisting of five plug-ins and the last plug-in waits for two of the three inputs.

Returns:
the workflow as a set of RDF statements