You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/02/17 12:17:29 UTC
[13/52] [abbrv] incubator-taverna-language git commit: Removed
outdated taverna-scufl2-rdf
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example.rdf
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example.rdf b/taverna-scufl2-rdf/src/test/resources/example.rdf
deleted file mode 100644
index 7c420e6..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example.rdf
+++ /dev/null
@@ -1,281 +0,0 @@
-<?xml version='1.0'?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-
-<!-- Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp -->
-<!-- using base file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/test/resources/example/-->
-
-
-<rdf:RDF xmlns="http://ns.taverna.org.uk/2010/scufl2#"
- xmlns:beanshell="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:owl="http://www.w3.org/2002/07/owl#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
- xmlns:scufl2="http://ns.taverna.org.uk/2010/scufl2#">
-
- <WorkflowBundle rdf:about="">
- <mainWorkflow rdf:resource="workflow/HelloWorld/"/>
- <name>Hello world</name>
- <profile rdf:resource="profile/tavernaWorkbench/"/>
- <sameBaseAs rdf:resource="http://ns.taverna.org.uk/2010/workflowBundle/28f7c554-4f35-401f-b34b-516e9a0ef731/"/>
- <workflow rdf:resource="workflow/HelloWorld/"/>
- <dc:creator>Stian Soiland-Reyes</dc:creator>
- <dc:date>2010-07-29</dc:date>
- <dc:description>An example workflow to illustrate SCUFL2</dc:description>
- <rdf:seeAlso rdf:resource="annotation/workflowBundle.ttl"/>
- </WorkflowBundle>
-
- <Profile rdf:about="profile/tavernaServer/">
- <activatesConfiguration rdf:resource="profile/tavernaServer/configuration/Hello"/>
- <name>tavernaWorkbench</name>
- <processorBinding rdf:resource="profile/tavernaServer/binding/Hello"/>
- <recommendsEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <os rdf:resource="http://www.ubuntu.com/#10.04"/>
- <workflowProduct rdf:resource="http://ns.taverna.org.uk/2010/taverna/server/"/>
- <dc:title>Taverna server installed on Ubuntu</dc:title>
- </recommendsEnvironment>
- <requiresEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <architecture rdf:resource="http://www.intel.org/x64"/>
- <plugin rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#plugin"/>
- <product rdf:resource="http://ns.taverna.org.uk/2010/taverna/"/>
- <software rdf:resource="http://www.bioconductor.org/"/>
- <software rdf:resource="http://www.r-project.org/#2.11"/>
- <software rdf:resource="http://www.rforge.net/Rserve/"/>
- <dc:description>
- BioConductor installed in R, and Rserve running
- on port 1234. x64 but architecture.
- </dc:description>
- </requiresEnvironment>
- <dc:creator>Stian Soiland-Reyes</dc:creator>
- <dc:date>2010-07-29</dc:date>
- <dc:description>A profile for invoking the workflow on a Taverna Server</dc:description>
- </Profile>
-
- <beanshell:Activity rdf:about="profile/tavernaServer/activity/HelloScript/">
- <inputActivityPort rdf:resource="profile/tavernaServer/activity/HelloScript/in/personName"/>
- <outputActivityPort rdf:resource="profile/tavernaServer/activity/HelloScript/out/hello"/>
- </beanshell:Activity>
-
- <InputActivityPort rdf:about="profile/tavernaServer/activity/HelloScript/in/personName">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>personName</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </InputActivityPort>
-
- <OutputActivityPort rdf:about="profile/tavernaServer/activity/HelloScript/out/hello">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>hello</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </OutputActivityPort>
-
- <ProcessorBinding rdf:about="profile/tavernaServer/binding/Hello">
- <boundActivity rdf:resource="profile/tavernaServer/activity/HelloScript/"/>
- <boundProcessor rdf:resource="workflow/HelloWorld/processor/Hello/"/>
- <inputPortBinding rdf:parseType="Resource">
- <bindsInputActivityPort rdf:resource="profile/tavernaServer/activity/HelloScript/in/personName"/>
- <bindsInputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/in/name"/>
- </inputPortBinding>
- <outputPortBinding rdf:parseType="Resource">
- <bindsOutputActivityPort rdf:resource="profile/tavernaServer/activity/HelloScript/out/hello"/>
- <bindsOutputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/out/greeting"/>
- </outputPortBinding>
- </ProcessorBinding>
-
- <beanshell:Configuration rdf:about="profile/tavernaServer/configuration/Hello">
- <configures rdf:resource="profile/tavernaServer/activity/HelloScript/"/>
- <beanshell:script>
- hello = "Hello, " + personName;
- System.out.println("Server says: " + hello);
- </beanshell:script>
- </beanshell:Configuration>
-
- <Profile rdf:about="profile/tavernaWorkbench/">
- <activatesConfiguration rdf:resource="profile/tavernaWorkbench/configuration/Hello"/>
- <name>tavernaWorkbench</name>
- <processorBinding rdf:resource="profile/tavernaWorkbench/binding/Hello"/>
- <recommendsEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <workflowProduct rdf:resource="http://ns.taverna.org.uk/2010/taverna/workbench/"/>
- </recommendsEnvironment>
- <requiresEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <workflowPlugin rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#plugin"/>
- <workflowProduct rdf:resource="http://ns.taverna.org.uk/2010/taverna/"/>
- </requiresEnvironment>
- <dc:creator>Stian Soiland-Reyes</dc:creator>
- <dc:date>2010-07-29</dc:date>
- <dc:description>A profile for invoking the workflow on the Taverna Workbench</dc:description>
- <rdfs:seeAlso rdf:resource="profile/tavernaWorkbench.ttl"/>
- </Profile>
-
- <beanshell:Activity rdf:about="profile/tavernaWorkbench/activity/HelloScript/">
- <inputActivityPort rdf:resource="profile/tavernaWorkbench/activity/HelloScript/in/personName"/>
- <outputActivityPort rdf:resource="profile/tavernaWorkbench/activity/HelloScript/out/hello"/>
- </beanshell:Activity>
-
- <InputActivityPort rdf:about="profile/tavernaWorkbench/activity/HelloScript/in/personName">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>personName</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </InputActivityPort>
-
- <OutputActivityPort rdf:about="profile/tavernaWorkbench/activity/HelloScript/out/hello">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>hello</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </OutputActivityPort>
-
- <ProcessorBinding rdf:about="profile/tavernaWorkbench/binding/Hello">
- <boundActivity rdf:resource="profile/tavernaWorkbench/activity/HelloScript/"/>
- <boundProcessor rdf:resource="workflow/HelloWorld/processor/Hello/"/>
- <inputPortBinding rdf:parseType="Resource">
- <bindsInputActivityPort rdf:resource="profile/tavernaWorkbench/activity/HelloScript/in/personName"/>
- <bindsInputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/in/name"/>
- </inputPortBinding>
- <outputPortBinding rdf:parseType="Resource">
- <bindsOutputActivityPort rdf:resource="profile/tavernaWorkbench/activity/HelloScript/out/hello"/>
- <bindsOutputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/out/greeting"/>
- </outputPortBinding>
- </ProcessorBinding>
-
- <beanshell:Configuration rdf:about="profile/tavernaWorkbench/configuration/Hello">
- <configures rdf:resource="profile/tavernaWorkbench/activity/HelloScript/"/>
- <beanshell:script>
- import javax.swing.JOptionPane;
-
- hello = "Hello, " + personName;
- JOptionPane.showMessageDialog(null, hello, "Greeting",
- JOptionPane.INFORMATION_MESSAGE);
- </beanshell:script>
- </beanshell:Configuration>
-
- <Workflow rdf:about="workflow/HelloWorld/">
- <datalink rdf:resource="workflow/HelloWorld/datalink/5"/>
- <datalink rdf:resource="workflow/HelloWorld/datalink?from=processor/Hello/out/greeting&to=out/results&mergePosition=0"/>
- <datalink rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#DataLink"/>
- <receivesFrom rdf:resource="workflow/HelloWorld/in/yourName"/>
- <sendsTo rdf:resource="workflow/HelloWorld/processor/Hello/in/name"/>
- </datalink>
- <inputWorkflowPort rdf:resource="workflow/HelloWorld/in/yourName"/>
- <name>Helloworld</name>
- <outputWorkflowPort rdf:resource="workflow/HelloWorld/out/results"/>
- <processor rdf:resource="workflow/HelloWorld/processor/Hello"/>
- <workflowIdentifier rdf:resource="http://ns.taverna.org.uk/2010/workflow/00626652-55ae-4a9e-80d4-c8e9ac84e2ca/"/>
- <dc:date>2010-07-28</dc:date>
- <dc:description>A simple hello world workflow</dc:description>
- <rdfs:seeAlso rdf:resource="workflow/HelloWorld.ttl"/>
- <rdfs:seeAlso rdf:resource="workflow/annotation/workflow/HelloWorld.ttl"/>
- </Workflow>
-
- <DataLink rdf:about="workflow/HelloWorld/datalink/5">
- <mergePosition rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</mergePosition>
- <receivesFrom rdf:resource="workflow/HelloWorld/in/yourName"/>
- <sendsTo rdf:resource="workflow/HelloWorld/out/results"/>
- <dc:description>Connects workflow input port "yourName"
- directly to be merged on workflow output port "result". Merged in
- position 1, meaning that the data from "Hello" will come first. </dc:description>
- </DataLink>
-
- <DataLink rdf:about="workflow/HelloWorld/datalink?from=processor/Hello/out/greeting&to=out/results&mergePosition=0">
- <mergePosition rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</mergePosition>
- <receivesFrom rdf:resource="workflow/HelloWorld/processor/Hello/out/greeting"/>
- <sendsTo rdf:resource="workflow/HelloWorld/out/results"/>
- </DataLink>
-
- <InputWorkflowPort rdf:about="workflow/HelloWorld/in/yourName">
- <exampleValue>John Doe</exampleValue>
- <name>yourName</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- <dc:description>Your name</dc:description>
- </InputWorkflowPort>
-
- <OutputWorkflowPort rdf:about="workflow/HelloWorld/out/results">
- <exampleList rdf:parseType="Resource">
- <rdf:first>Hello, John Doe!</rdf:first>
- <rdf:rest rdf:parseType="Resource">
- <rdf:first>John Doe</rdf:first>
- <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
- </rdf:rest>
- </exampleList>
- <name>results</name>
- <dc:description>Personalised greeting, followed by name</dc:description>
- </OutputWorkflowPort>
-
- <Processor rdf:about="workflow/HelloWorld/processor/Hello">
- <dispatchStack rdf:resource="http://ns.taverna.org.uk/2010/scufl2/taverna#defaultDispatchStack"/>
- <inputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/in/name"/>
- <iterationStrategyStack rdf:parseType="Resource">
- <rdf:first rdf:resource="workflow/HelloWorld/processor/Hello/iterationStrategy/0"/>
- <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
- </iterationStrategyStack>
- <name>Hello</name>
- <outputProcessorPort rdf:resource="workflow/HelloWorld/processor/Hello/out/greeting"/>
- <dc:description>A service that says greets the given name</dc:description>
- <dc:title>Hello world</dc:title>
- </Processor>
-
- <InputProcessorPort rdf:about="workflow/HelloWorld/processor/Hello/in/name">
- <exampleValue>Stian</exampleValue>
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>name</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- <dc:description>Name of person to greet</dc:description>
- </InputProcessorPort>
-
- <CrossProduct rdf:about="workflow/HelloWorld/processor/Hello/iterationStrategy/0">
- <iterationStrategyChildren rdf:parseType="Resource">
- <rdf:first rdf:resource="workflow/HelloWorld/processor/Hello/in/name"/>
- <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
- </iterationStrategyChildren>
- </CrossProduct>
-
- <OutputProcessorPort rdf:about="workflow/HelloWorld/processor/Hello/out/greeting">
- <exampleValue>Hello, Stian!</exampleValue>
- <name>greeting</name>
- <dc:description>Personalised greeting</dc:description>
- </OutputProcessorPort>
-
- <owl:Class rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Activity">
- <configurationType rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration"/>
- <rdfs:subClassOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Activity"/>
- </owl:Class>
-
- <owl:Class rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration">
- <rdfs:subClassOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Configuration"/>
- </owl:Class>
-
- <owl:DatatypeProperty rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#script">
- <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
- <required rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</required>
- <rdfs:domain rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration"/>
- <rdfs:label>script</rdfs:label>
- <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
- <rdfs:subPropertyOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#script"/>
- </owl:DatatypeProperty>
-
- <rdf:Description rdf:about="http://www.ubuntu.com/#10.04">
- <version>10.04</version>
- <dc:title>Ubuntu Linux</dc:title>
- </rdf:Description>
-</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example.scufl2
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example.scufl2 b/taverna-scufl2-rdf/src/test/resources/example.scufl2
deleted file mode 100644
index 1a9c298..0000000
Binary files a/taverna-scufl2-rdf/src/test/resources/example.scufl2 and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example.t2flow
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example.t2flow b/taverna-scufl2-rdf/src/test/resources/example.t2flow
deleted file mode 100644
index 76f8e9b..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example.t2flow
+++ /dev/null
@@ -1,239 +0,0 @@
-<workflow xmlns="http://taverna.sf.net/2008/xml/t2flow" version="1" producedBy="taverna-2.2.0"><dataflow id="3648b135-8f4e-49e5-87c0-1377945a2405" role="top"><name>A_simple_hello_world_workflow</name><inputPorts><port><name>yourName</name><depth>0</depth><granularDepth>0</granularDepth><annotations><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.ExampleValue">
- <text>John Doe</text>
- </annotationBean>
- <date>2010-08-04 17:37:03.737 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription">
- <text>Your name</text>
- </annotationBean>
- <date>2010-08-04 17:36:56.895 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain></annotations></port></inputPorts><outputPorts><port><name>results</name><annotations><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription">
- <text>Personalised greeting, followed by name</text>
- </annotationBean>
- <date>2010-08-04 17:37:35.710 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.ExampleValue">
- <text>Hello John Doe!
-John Doe</text>
- </annotationBean>
- <date>2010-08-04 17:37:52.323 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.ExampleValue">
- <text>[ "Hello John Doe!", "John Doe" ]</text>
- </annotationBean>
- <date>2010-08-04 17:37:29.241 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription">
- <text>Personalised greeting, followed by Name</text>
- </annotationBean>
- <date>2010-08-04 17:37:14.479 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain></annotations></port></outputPorts><processors><processor><name>Beanshell</name><inputPorts><port><name>personName</name><depth>0</depth></port></inputPorts><outputPorts><port><name>hello</name><depth>0</depth><granularDepth>0</granularDepth></port></outputPorts><annotations><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription">
- <text>A service that says greets the given name</text>
- </annotationBean>
- <date>2010-08-04 17:38:56.776 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain></annotations><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>beanshell-activity</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.activities.beanshell.BeanshellActivity</class><inputMap><map from="personName" to="personName" /></inputMap><outputMap><map from="hello" to="hello" /></outputMap><configBean encoding="xstream"><net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean xmlns="">
- <script>import javax.swing.JOptionPane;
-
-hello = "Hello, " + personName;
-JOptionPane.showMessageDialog(null, hello, "Greeting",
- JOptionPane.INFORMATION_MESSAGE);
-
-</script>
- <dependencies />
- <classLoaderSharing>workflow</classLoaderSharing>
- <localDependencies />
- <artifactDependencies />
- <inputs>
- <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean>
- <handledReferenceSchemes />
- <translatedElementType>java.lang.String</translatedElementType>
- <allowsLiteralValues>true</allowsLiteralValues>
- <name>personName</name>
- <depth>0</depth>
- <mimeTypes>
- <string>text/plain</string>
- </mimeTypes>
- </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean>
- </inputs>
- <outputs>
- <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
- <granularDepth>0</granularDepth>
- <name>hello</name>
- <depth>0</depth>
- <mimeTypes />
- </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
- </outputs>
-</net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean></configBean><annotations /></activity></activities><dispatchStack><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig xmlns="">
- <maxJobs>1</maxJobs>
-</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBounce</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failover</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig xmlns="
">
- <backoffFactor>1.0</backoffFactor>
- <initialDelay>1000</initialDelay>
- <maxDelay>5000</maxDelay>
- <maxRetries>0</maxRetries>
-</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer></dispatchStack><iterationStrategyStack><iteration><strategy><cross><port name="personName" depth="0" /></cross></strategy></iteration></iterationStrategyStack></processor></processors><conditions /><datalinks><datalink><sink type="processor"><processor>Beanshell</processor><port>personName</port></sink><source type="dataflow"><port>yourName</port></source></datalink><datalink><sink type="merge"><port>results</port></sink><source type="processor"><processor>Beanshell</processor><port>hello</port></source></datalink><datalink><sink type="merge"><port>results</port></sink><source type="dataflow"><port>yourN
ame</port></source></datalink></datalinks><annotations><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>58d43f9f-70d0-4466-9559-98c9a4339a5d</identification>
- </annotationBean>
- <date>2010-08-04 17:17:41.412 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>b5613640-4b12-4c32-9b27-33b1a26fd592</identification>
- </annotationBean>
- <date>2010-08-04 17:17:16.686 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.DescriptiveTitle">
- <text>A simple hello world workflow</text>
- </annotationBean>
- <date>2010-08-04 17:36:15.653 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>3648b135-8f4e-49e5-87c0-1377945a2405</identification>
- </annotationBean>
- <date>2010-08-04 17:39:37.57 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.Author">
- <text>Stian Soiland-Reyes</text>
- </annotationBean>
- <date>2010-08-04 17:36:03.233 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>71f6bcb7-7485-44f3-a2b8-131e51ae7003</identification>
- </annotationBean>
- <date>2010-08-04 17:35:20.420 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>c24a17e1-f572-4bc4-b09d-f7398c05f4ec</identification>
- </annotationBean>
- <date>2010-08-04 17:16:22.347 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>be252ac2-30c2-4465-823a-80263432ad05</identification>
- </annotationBean>
- <date>2010-08-04 17:18:54.688 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>ac4f9a6f-d5bc-4b7d-b235-26ed29c28852</identification>
- </annotationBean>
- <date>2010-08-04 17:18:34.975 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
- <identification>480b1099-1c5c-4c41-bff6-4f8320a50746</identification>
- </annotationBean>
- <date>2010-08-04 17:19:32.147 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
- <annotationAssertions>
- <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription">
- <text>A simple hello world workflow</text>
- </annotationBean>
- <date>2010-08-04 17:36:22.112 BST</date>
- <creators />
- <curationEventList />
- </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
- </annotationAssertions>
-</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain></annotations></dataflow></workflow>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example.ttl
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example.ttl b/taverna-scufl2-rdf/src/test/resources/example.ttl
deleted file mode 100644
index aeb9354..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example.ttl
+++ /dev/null
@@ -1,218 +0,0 @@
-#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp
- # using base file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/test/resources/example/
-
-# Notation3 generation by
-# notation3.py,v 1.200 2007/12/11 21:18:08 syosi Exp
-
-# Base was: file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/test/resources/example/
- @prefix : <http://ns.taverna.org.uk/2010/taverna/activities/beanshell#> .
- @prefix owl: <http://www.w3.org/2002/07/owl#> .
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
- <> a <http://ns.taverna.org.uk/2010/scufl2#WorkflowBundle>;
- <http://ns.taverna.org.uk/2010/scufl2#mainWorkflow> <workflow/HelloWorld/>;
- <http://ns.taverna.org.uk/2010/scufl2#name> "Hello world";
- <http://ns.taverna.org.uk/2010/scufl2#profile> <profile/tavernaWorkbench/>;
- <http://ns.taverna.org.uk/2010/scufl2#sameBaseAs> <http://ns.taverna.org.uk/2010/workflowBundle/28f7c554-4f35-401f-b34b-516e9a0ef731/>;
- <http://ns.taverna.org.uk/2010/scufl2#workflow> <workflow/HelloWorld/>;
- <http://purl.org/dc/elements/1.1/creator> "Stian Soiland-Reyes";
- <http://purl.org/dc/elements/1.1/date> "2010-07-29";
- <http://purl.org/dc/elements/1.1/description> "An example workflow to illustrate SCUFL2";
- rdf:seeAlso <annotation/workflowBundle.ttl> .
-
- <profile/tavernaServer/> a <http://ns.taverna.org.uk/2010/scufl2#Profile>;
- <http://ns.taverna.org.uk/2010/scufl2#activatesConfiguration> <profile/tavernaServer/configuration/Hello>;
- <http://ns.taverna.org.uk/2010/scufl2#name> "tavernaWorkbench";
- <http://ns.taverna.org.uk/2010/scufl2#processorBinding> <profile/tavernaServer/binding/Hello>;
- <http://ns.taverna.org.uk/2010/scufl2#recommendsEnvironment> [
- a <http://ns.taverna.org.uk/2010/scufl2#Environment>;
- <http://ns.taverna.org.uk/2010/scufl2#os> <http://www.ubuntu.com/#10.04>;
- <http://ns.taverna.org.uk/2010/scufl2#workflowProduct> <http://ns.taverna.org.uk/2010/taverna/server/>;
- <http://purl.org/dc/elements/1.1/title> "Taverna server installed on Ubuntu" ];
- <http://ns.taverna.org.uk/2010/scufl2#requiresEnvironment> [
- a <http://ns.taverna.org.uk/2010/scufl2#Environment>;
- <http://ns.taverna.org.uk/2010/scufl2#architecture> <http://www.intel.org/x64>;
- <http://ns.taverna.org.uk/2010/scufl2#plugin> :plugin;
- <http://ns.taverna.org.uk/2010/scufl2#product> <http://ns.taverna.org.uk/2010/taverna/>;
- <http://ns.taverna.org.uk/2010/scufl2#software> <http://www.bioconductor.org/>,
- <http://www.r-project.org/#2.11>,
- <http://www.rforge.net/Rserve/>;
- <http://purl.org/dc/elements/1.1/description> """
- BioConductor installed in R, and Rserve running
- on port 1234. x64 but architecture.
- """ ];
- <http://purl.org/dc/elements/1.1/creator> "Stian Soiland-Reyes";
- <http://purl.org/dc/elements/1.1/date> "2010-07-29";
- <http://purl.org/dc/elements/1.1/description> "A profile for invoking the workflow on a Taverna Server" .
-
- <profile/tavernaServer/activity/HelloScript/> a :Activity;
- <http://ns.taverna.org.uk/2010/scufl2#inputActivityPort> <profile/tavernaServer/activity/HelloScript/in/personName>;
- <http://ns.taverna.org.uk/2010/scufl2#outputActivityPort> <profile/tavernaServer/activity/HelloScript/out/hello> .
-
- <profile/tavernaServer/activity/HelloScript/in/personName> a <http://ns.taverna.org.uk/2010/scufl2#InputActivityPort>;
- <http://ns.taverna.org.uk/2010/scufl2#granularPortDepth> 0;
- <http://ns.taverna.org.uk/2010/scufl2#name> "personName";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0 .
-
- <profile/tavernaServer/activity/HelloScript/out/hello> a <http://ns.taverna.org.uk/2010/scufl2#OutputActivityPort>;
- <http://ns.taverna.org.uk/2010/scufl2#granularPortDepth> 0;
- <http://ns.taverna.org.uk/2010/scufl2#name> "hello";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0 .
-
- <profile/tavernaServer/binding/Hello> a <http://ns.taverna.org.uk/2010/scufl2#ProcessorBinding>;
- <http://ns.taverna.org.uk/2010/scufl2#boundActivity> <profile/tavernaServer/activity/HelloScript/>;
- <http://ns.taverna.org.uk/2010/scufl2#boundProcessor> <workflow/HelloWorld/processor/Hello/>;
- <http://ns.taverna.org.uk/2010/scufl2#inputPortBinding> [
- <http://ns.taverna.org.uk/2010/scufl2#bindsInputActivityPort> <profile/tavernaServer/activity/HelloScript/in/personName>;
- <http://ns.taverna.org.uk/2010/scufl2#bindsInputProcessorPort> <workflow/HelloWorld/processor/Hello/in/name> ];
- <http://ns.taverna.org.uk/2010/scufl2#outputPortBinding> [
- <http://ns.taverna.org.uk/2010/scufl2#bindsOutputActivityPort> <profile/tavernaServer/activity/HelloScript/out/hello>;
- <http://ns.taverna.org.uk/2010/scufl2#bindsOutputProcessorPort> <workflow/HelloWorld/processor/Hello/out/greeting> ] .
-
- <profile/tavernaServer/configuration/Hello> a :Configuration;
- <http://ns.taverna.org.uk/2010/scufl2#configures> <profile/tavernaServer/activity/HelloScript/>;
- :script """
- hello = "Hello, " + personName;
- System.out.println("Server says: " + hello);
- """ .
-
- <profile/tavernaWorkbench/> a <http://ns.taverna.org.uk/2010/scufl2#Profile>;
- <http://ns.taverna.org.uk/2010/scufl2#activatesConfiguration> <profile/tavernaWorkbench/configuration/Hello>;
- <http://ns.taverna.org.uk/2010/scufl2#name> "tavernaWorkbench";
- <http://ns.taverna.org.uk/2010/scufl2#processorBinding> <profile/tavernaWorkbench/binding/Hello>;
- <http://ns.taverna.org.uk/2010/scufl2#recommendsEnvironment> [
- a <http://ns.taverna.org.uk/2010/scufl2#Environment>;
- <http://ns.taverna.org.uk/2010/scufl2#workflowProduct> <http://ns.taverna.org.uk/2010/taverna/workbench/> ];
- <http://ns.taverna.org.uk/2010/scufl2#requiresEnvironment> [
- a <http://ns.taverna.org.uk/2010/scufl2#Environment>;
- <http://ns.taverna.org.uk/2010/scufl2#workflowPlugin> :plugin;
- <http://ns.taverna.org.uk/2010/scufl2#workflowProduct> <http://ns.taverna.org.uk/2010/taverna/> ];
- <http://purl.org/dc/elements/1.1/creator> "Stian Soiland-Reyes";
- <http://purl.org/dc/elements/1.1/date> "2010-07-29";
- <http://purl.org/dc/elements/1.1/description> "A profile for invoking the workflow on the Taverna Workbench";
- rdfs:seeAlso <profile/tavernaWorkbench.ttl> .
-
- <profile/tavernaWorkbench/activity/HelloScript/> a :Activity;
- <http://ns.taverna.org.uk/2010/scufl2#inputActivityPort> <profile/tavernaWorkbench/activity/HelloScript/in/personName>;
- <http://ns.taverna.org.uk/2010/scufl2#outputActivityPort> <profile/tavernaWorkbench/activity/HelloScript/out/hello> .
-
- <profile/tavernaWorkbench/activity/HelloScript/in/personName> a <http://ns.taverna.org.uk/2010/scufl2#InputActivityPort>;
- <http://ns.taverna.org.uk/2010/scufl2#granularPortDepth> 0;
- <http://ns.taverna.org.uk/2010/scufl2#name> "personName";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0 .
-
- <profile/tavernaWorkbench/activity/HelloScript/out/hello> a <http://ns.taverna.org.uk/2010/scufl2#OutputActivityPort>;
- <http://ns.taverna.org.uk/2010/scufl2#granularPortDepth> 0;
- <http://ns.taverna.org.uk/2010/scufl2#name> "hello";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0 .
-
- <profile/tavernaWorkbench/binding/Hello> a <http://ns.taverna.org.uk/2010/scufl2#ProcessorBinding>;
- <http://ns.taverna.org.uk/2010/scufl2#boundActivity> <profile/tavernaWorkbench/activity/HelloScript/>;
- <http://ns.taverna.org.uk/2010/scufl2#boundProcessor> <workflow/HelloWorld/processor/Hello/>;
- <http://ns.taverna.org.uk/2010/scufl2#inputPortBinding> [
- <http://ns.taverna.org.uk/2010/scufl2#bindsInputActivityPort> <profile/tavernaWorkbench/activity/HelloScript/in/personName>;
- <http://ns.taverna.org.uk/2010/scufl2#bindsInputProcessorPort> <workflow/HelloWorld/processor/Hello/in/name> ];
- <http://ns.taverna.org.uk/2010/scufl2#outputPortBinding> [
- <http://ns.taverna.org.uk/2010/scufl2#bindsOutputActivityPort> <profile/tavernaWorkbench/activity/HelloScript/out/hello>;
- <http://ns.taverna.org.uk/2010/scufl2#bindsOutputProcessorPort> <workflow/HelloWorld/processor/Hello/out/greeting> ] .
-
- <profile/tavernaWorkbench/configuration/Hello> a :Configuration;
- <http://ns.taverna.org.uk/2010/scufl2#configures> <profile/tavernaWorkbench/activity/HelloScript/>;
- :script """
- import javax.swing.JOptionPane;
-
- hello = "Hello, " + personName;
- JOptionPane.showMessageDialog(null, hello, "Greeting",
- JOptionPane.INFORMATION_MESSAGE);
- """ .
-
- <workflow/HelloWorld/> a <http://ns.taverna.org.uk/2010/scufl2#Workflow>;
- <http://ns.taverna.org.uk/2010/scufl2#datalink> <workflow/HelloWorld/datalink/5>,
- <workflow/HelloWorld/datalink?from=processor/Hello/out/greeting&to=out/results&mergePosition=0>,
- [
- a <http://ns.taverna.org.uk/2010/scufl2#DataLink>;
- <http://ns.taverna.org.uk/2010/scufl2#receivesFrom> <workflow/HelloWorld/in/yourName>;
- <http://ns.taverna.org.uk/2010/scufl2#sendsTo> <workflow/HelloWorld/processor/Hello/in/name> ];
- <http://ns.taverna.org.uk/2010/scufl2#inputWorkflowPort> <workflow/HelloWorld/in/yourName>;
- <http://ns.taverna.org.uk/2010/scufl2#name> "Helloworld";
- <http://ns.taverna.org.uk/2010/scufl2#outputWorkflowPort> <workflow/HelloWorld/out/results>;
- <http://ns.taverna.org.uk/2010/scufl2#processor> <workflow/HelloWorld/processor/Hello>;
- <http://ns.taverna.org.uk/2010/scufl2#workflowIdentifier> <http://ns.taverna.org.uk/2010/workflow/00626652-55ae-4a9e-80d4-c8e9ac84e2ca/>;
- <http://purl.org/dc/elements/1.1/date> "2010-07-28";
- <http://purl.org/dc/elements/1.1/description> "A simple hello world workflow";
- rdfs:seeAlso <workflow/HelloWorld.ttl>,
- <workflow/annotation/workflow/HelloWorld.ttl> .
-
- <workflow/HelloWorld/datalink/5> a <http://ns.taverna.org.uk/2010/scufl2#DataLink>;
- <http://ns.taverna.org.uk/2010/scufl2#mergePosition> 1;
- <http://ns.taverna.org.uk/2010/scufl2#receivesFrom> <workflow/HelloWorld/in/yourName>;
- <http://ns.taverna.org.uk/2010/scufl2#sendsTo> <workflow/HelloWorld/out/results>;
- <http://purl.org/dc/elements/1.1/description> """Connects workflow input port "yourName"
- directly to be merged on workflow output port "result". Merged in
- position 1, meaning that the data from "Hello" will come first. """ .
-
- <workflow/HelloWorld/datalink?from=processor/Hello/out/greeting&to=out/results&mergePosition=0> a <http://ns.taverna.org.uk/2010/scufl2#DataLink>;
- <http://ns.taverna.org.uk/2010/scufl2#mergePosition> 0;
- <http://ns.taverna.org.uk/2010/scufl2#receivesFrom> <workflow/HelloWorld/processor/Hello/out/greeting>;
- <http://ns.taverna.org.uk/2010/scufl2#sendsTo> <workflow/HelloWorld/out/results> .
-
- <workflow/HelloWorld/in/yourName> a <http://ns.taverna.org.uk/2010/scufl2#InputWorkflowPort>;
- <http://ns.taverna.org.uk/2010/scufl2#exampleValue> "John Doe";
- <http://ns.taverna.org.uk/2010/scufl2#name> "yourName";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0;
- <http://purl.org/dc/elements/1.1/description> "Your name" .
-
- <workflow/HelloWorld/out/results> a <http://ns.taverna.org.uk/2010/scufl2#OutputWorkflowPort>;
- <http://ns.taverna.org.uk/2010/scufl2#exampleList> (
- "Hello, John Doe!"
- "John Doe" );
- <http://ns.taverna.org.uk/2010/scufl2#name> "results";
- <http://purl.org/dc/elements/1.1/description> "Personalised greeting, followed by name" .
-
- <workflow/HelloWorld/processor/Hello> a <http://ns.taverna.org.uk/2010/scufl2#Processor>;
- <http://ns.taverna.org.uk/2010/scufl2#dispatchStack> <http://ns.taverna.org.uk/2010/scufl2/taverna#defaultDispatchStack>;
- <http://ns.taverna.org.uk/2010/scufl2#inputProcessorPort> <workflow/HelloWorld/processor/Hello/in/name>;
- <http://ns.taverna.org.uk/2010/scufl2#iterationStrategyStack> (
- <workflow/HelloWorld/processor/Hello/iterationStrategy/0> );
- <http://ns.taverna.org.uk/2010/scufl2#name> "Hello";
- <http://ns.taverna.org.uk/2010/scufl2#outputProcessorPort> <workflow/HelloWorld/processor/Hello/out/greeting>;
- <http://purl.org/dc/elements/1.1/description> "A service that says greets the given name";
- <http://purl.org/dc/elements/1.1/title> "Hello world" .
-
- <workflow/HelloWorld/processor/Hello/in/name> a <http://ns.taverna.org.uk/2010/scufl2#InputProcessorPort>;
- <http://ns.taverna.org.uk/2010/scufl2#exampleValue> "Stian";
- <http://ns.taverna.org.uk/2010/scufl2#granularPortDepth> 0;
- <http://ns.taverna.org.uk/2010/scufl2#name> "name";
- <http://ns.taverna.org.uk/2010/scufl2#portDepth> 0;
- <http://purl.org/dc/elements/1.1/description> "Name of person to greet" .
-
- <workflow/HelloWorld/processor/Hello/iterationStrategy/0> a <http://ns.taverna.org.uk/2010/scufl2#CrossProduct>;
- <http://ns.taverna.org.uk/2010/scufl2#iterationStrategyChildren> (
- <workflow/HelloWorld/processor/Hello/in/name> ) .
-
- <workflow/HelloWorld/processor/Hello/out/greeting> a <http://ns.taverna.org.uk/2010/scufl2#OutputProcessorPort>;
- <http://ns.taverna.org.uk/2010/scufl2#exampleValue> "Hello, Stian!";
- <http://ns.taverna.org.uk/2010/scufl2#name> "greeting";
- <http://purl.org/dc/elements/1.1/description> "Personalised greeting" .
-
- :Activity a owl:Class;
- <http://ns.taverna.org.uk/2010/scufl2#configurationType> :Configuration;
- rdfs:subClassOf <http://ns.taverna.org.uk/2010/scufl2#Activity> .
-
- :Configuration a owl:Class;
- rdfs:subClassOf <http://ns.taverna.org.uk/2010/scufl2#Configuration> .
-
- :script a owl:DatatypeProperty,
- owl:FunctionalProperty;
- <http://ns.taverna.org.uk/2010/scufl2#required> true;
- rdfs:domain :Configuration;
- rdfs:label "script";
- rdfs:range xsd:string;
- rdfs:subPropertyOf <http://ns.taverna.org.uk/2010/scufl2#script> .
-
- <http://www.ubuntu.com/#10.04> <http://ns.taverna.org.uk/2010/scufl2#version> "10.04";
- <http://purl.org/dc/elements/1.1/title> "Ubuntu Linux" .
-
-#ENDS
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/META-INF/container.xml
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/META-INF/container.xml b/taverna-scufl2-rdf/src/test/resources/example/META-INF/container.xml
deleted file mode 100644
index 8d064af..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/META-INF/container.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-<container version="1.0"
- xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
- <rootfiles>
- <rootfile full-path="workflowBundle.ttl"
- media-type="text/turtle" />
- <rootfile full-path="workflowBundle.rdf"
- media-type="application/rdf+xml" />
- </rootfiles>
- <relationships>
- <relationship type="metadata" target="/annotation/$dir/$filename.$ext" />
- </relationships>
-</container>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/META-INF/manifest.xml
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/META-INF/manifest.xml b/taverna-scufl2-rdf/src/test/resources/example/META-INF/manifest.xml
deleted file mode 100644
index f30dd2b..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/META-INF/manifest.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
- <manifest:file-entry manifest:media-type="application/vnd.taverna.scufl2.workflowBundle" manifest:full-path="/"/>
-
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="workflowBundle.ttl"/>
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="workflow/HelloWorld.ttl"/>
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="annotation/workflow/HelloWorld.ttl"/>
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="annotation/workflowBundle.ttl"/>
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="profile/tavernaWorkbench.ttl"/>
- <manifest:file-entry manifest:media-type="text/turtle" manifest:full-path="profile/tavernaServer.ttl"/>
-
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="workflowBundle.rdf"/>
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="workflow/HelloWorld.rdf"/>
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="annotation/workflow/HelloWorld.rdf"/>
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="annotation/workflowBundle.rdf"/>
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="profile/tavernaWorkbench.rdf"/>
- <manifest:file-entry manifest:media-type="application/rdf+xml" manifest:full-path="profile/tavernaServer.rdf"/>
-
- <manifest:file-entry manifest:media-type="image/svg+xml" manifest:full-path="Thumbnails/thumbnail.svg"/>
- <manifest:file-entry manifest:media-type="image/png" manifest:full-path="Thumbnails/thumbnail.png"/>
-
- <manifest:file-entry manifest:media-type="image/svg+xml" manifest:full-path="diagram/workflow/HelloWorld.svg"/>
- <manifest:file-entry manifest:media-type="image/png" manifest:full-path="diagram/workflow/HelloWorld.png"/>
-</manifest:manifest>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.png
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.png b/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.png
deleted file mode 100644
index 8b69f43..0000000
Binary files a/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.svg
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.svg b/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.svg
deleted file mode 100644
index 0c14a45..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/Thumbnails/thumbnail.svg
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
- <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
-]>
-<!-- Generated by Graphviz version 2.20.2 (Tue Mar  2 19:03:41 UTC 2010)
- For user: (stain) Stian Soiland-Reyes,,,, -->
-<!-- Title: A_simple_hello_world_workflow Pages: 1 -->
-<svg width="146pt" height="210pt"
- viewBox="0.00 0.00 146.00 210.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 206)">
-<title>A_simple_hello_world_workflow</title>
-<polygon style="fill:#ffffff;stroke:#ffffff;" points="-4,4 -4,-206 142,-206 142,4 -4,4"/>
-<g id="cluster2" class="cluster"><title>cluster_A_simple_hello_world_workflowsinks</title>
-<polygon style="fill:none;stroke:black;stroke-dasharray:1,5;" points="11,-16 11,-73 130,-73 130,-16 11,-16"/>
-<text text-anchor="middle" x="70" y="-60.5" style="font-family:Times New Roman;font-size:10.00;">Workflow output ports</text>
-</g>
-<g id="cluster3" class="cluster"><title>cluster_A_simple_hello_world_workflowsources</title>
-<polygon style="fill:none;stroke:black;stroke-dasharray:1,5;" points="10,-137 10,-194 121,-194 121,-137 10,-137"/>
-<text text-anchor="middle" x="65" y="-181.5" style="font-family:Times New Roman;font-size:10.00;">Workflow input ports</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSINKCONTROL -->
-<g id="node2" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSINKCONTROL</title>
-<polygon style="fill:#66cd00;stroke:black;" points="96,-28 102,-37 90,-37 96,-28"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results -->
-<g id="node3" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results</title>
-<polygon style="fill:#8ed6f0;stroke:black;" points="67,-44 23,-44 23,-24 67,-24 67,-44"/>
-<text text-anchor="middle" x="45" y="-31" style="font-family:Arial;font-size:10.00;">results</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCECONTROL -->
-<g id="node5" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCECONTROL</title>
-<polygon style="fill:#ff4040;stroke:black;" points="101,-161 95,-152 107,-152 101,-161"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName -->
-<g id="node6" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName</title>
-<polygon style="fill:#8ed6f0;stroke:black;" points="86,-165 26,-165 26,-145 86,-145 86,-165"/>
-<text text-anchor="middle" x="56" y="-152" style="font-family:Arial;font-size:10.00;">yourName</text>
-</g>
-<!-- A_simple_hello_world_workflowBeanshell -->
-<g id="node7" class="node"><title>A_simple_hello_world_workflowBeanshell</title>
-<polygon style="fill:#deb887;stroke:black;" points="58,-129 2.13163e-14,-129 0,-109 58,-109 58,-129"/>
-<text text-anchor="middle" x="29" y="-116" style="font-family:Arial;font-size:10.00;">Beanshell</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowBeanshell -->
-<g id="edge4" class="edge"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowBeanshell</title>
-<path style="fill:none;stroke:#000000;" d="M48,-145C46,-143 44,-140 42,-138"/>
-<polygon style="fill:#000000;stroke:#000000;" points="44.916,-136.042 37,-129 38.7969,-139.441 44.916,-136.042"/>
-</g>
-<!-- A_simple_hello_world_workflowMerge0 -->
-<g id="node8" class="node"><title>A_simple_hello_world_workflowMerge0</title>
-<ellipse style="fill:#4f94cd;stroke:black;" cx="45" cy="-87" rx="6" ry="6"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowMerge0 -->
-<g id="edge6" class="edge"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowMerge0</title>
-<path style="fill:none;stroke:#000000;" d="M58,-145C60,-135 61,-121 58,-109 57,-106 56,-103 54,-100"/>
-<polygon style="fill:#000000;stroke:#000000;" points="57.268,-98.625 49,-92 51.332,-102.335 57.268,-98.625"/>
-</g>
-<!-- A_simple_hello_world_workflowBeanshell->A_simple_hello_world_workflowMerge0 -->
-<g id="edge8" class="edge"><title>A_simple_hello_world_workflowBeanshell->A_simple_hello_world_workflowMerge0</title>
-<path style="fill:none;stroke:#000000;" d="M34,-109C35,-107 36,-105 38,-102"/>
-<polygon style="fill:#000000;stroke:#000000;" points="41.1369,-103.56 42,-93 34.7402,-100.717 41.1369,-103.56"/>
-</g>
-<!-- A_simple_hello_world_workflowMerge0->A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results -->
-<g id="edge10" class="edge"><title>A_simple_hello_world_workflowMerge0->A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results</title>
-<path style="fill:none;stroke:#000000;" d="M45,-81C45,-74 45,-64 45,-54"/>
-<polygon style="fill:#000000;stroke:#000000;" points="48.5001,-54 45,-44 41.5001,-54 48.5001,-54"/>
-</g>
-</g>
-</svg>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.rdf
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.rdf b/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.rdf
deleted file mode 100644
index 5638f28..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.rdf
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version='1.0'?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<!-- Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp -->
-<!-- using base file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/main/resources/example/annotation/workflow/HelloWorld.ttl-->
-
-
-<rdf:RDF xmlns="http://purl.org/dc/elements/1.1/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:scufl2="http://ns.taverna.org.uk/2010/scufl2#">
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/">
- <date>2010-07-28</date>
- <description>A simple hello world workflow</description>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/datalink/5">
- <description>Connects workflow input port "yourName"
- directly to be merged on workflow output port "result". Merged in
- position 1, meaning that the data from "Hello" will come first. </description>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/in/yourName">
- <scufl2:exampleValue>John Doe</scufl2:exampleValue>
- <description>Your name</description>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/out/results">
- <scufl2:exampleList rdf:parseType="Resource">
- <rdf:first>Hello, John Doe!</rdf:first>
- <rdf:rest rdf:parseType="Resource">
- <rdf:first>John Doe</rdf:first>
- <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
- </rdf:rest>
- </scufl2:exampleList>
- <description>Personalised greeting, followed by name</description>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/processor/Hello">
- <description>A service that says greets the given name</description>
- <title>Hello world</title>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/processor/Hello/in/name">
- <scufl2:exampleValue>Stian</scufl2:exampleValue>
- <description>Name of person to greet</description>
- </rdf:Description>
-
- <rdf:Description rdf:about="../../workflow/HelloWorld/processor/Hello/out/greeting">
- <scufl2:exampleValue>Hello, Stian!</scufl2:exampleValue>
- <description>Personalised greeting</description>
- </rdf:Description>
-</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.ttl
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.ttl b/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.ttl
deleted file mode 100644
index 0be9e38..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflow/HelloWorld.ttl
+++ /dev/null
@@ -1,41 +0,0 @@
-@base <../../workflow/HelloWorld/> .
-@prefix dc: <http://purl.org/dc/elements/1.1/> .
-@prefix scufl2: <http://ns.taverna.org.uk/2010/scufl2#> .
-
-
-
-<>
- dc:description "A simple hello world workflow" ;
- dc:date "2010-07-28" .
-
-<in/yourName>
- dc:description "Your name" ;
- scufl2:exampleValue "John Doe" .
-
-<out/results>
- dc:description "Personalised greeting, followed by name" ;
- scufl2:exampleList ( "Hello, John Doe!" "John Doe" ) .
-
-
-
-<datalink/5>
- dc:description """Connects workflow input port "yourName"
- directly to be merged on workflow output port "result". Merged in
- position 1, meaning that the data from "Hello" will come first. """ .
-
-# Can't describe _:datalink1 as it does not have an URI (in this bundle)
-
-
-<processor/Hello>
- # More readable alternative to scufl2:name, which is a sub-property of dc:title
- dc:title "Hello world" ;
- dc:description "A service that says greets the given name".
-
-<processor/Hello/in/name>
- dc:description "Name of person to greet";
- scufl2:exampleValue "Stian".
-
-<processor/Hello/out/greeting>
- dc:description "Personalised greeting" ;
- scufl2:exampleValue "Hello, Stian!" .
-
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.rdf
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.rdf b/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.rdf
deleted file mode 100644
index 5889e70..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.rdf
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version='1.0'?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<!-- Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp -->
-<!-- using base file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/main/resources/example/annotation/workflowBundle.ttl-->
-
-
-<rdf:RDF xmlns="http://purl.org/dc/elements/1.1/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-
- <rdf:Description rdf:about="../">
- <creator>Stian Soiland-Reyes</creator>
- <date>2010-07-29</date>
- <description>An example workflow to illustrate SCUFL2</description>
- </rdf:Description>
-</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.ttl
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.ttl b/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.ttl
deleted file mode 100644
index acdee25..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/annotation/workflowBundle.ttl
+++ /dev/null
@@ -1,8 +0,0 @@
-@base <../> .
-@prefix dc: <http://purl.org/dc/elements/1.1/> .
-
-<>
- dc:description """An example workflow to illustrate SCUFL2""" ;
- dc:creator "Stian Soiland-Reyes" ;
- dc:date "2010-07-29" .
-
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.png
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.png b/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.png
deleted file mode 100644
index 74bc4e1..0000000
Binary files a/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.svg
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.svg b/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.svg
deleted file mode 100644
index 0c14a45..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/diagram/workflow/HelloWorld.svg
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
- <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
-]>
-<!-- Generated by Graphviz version 2.20.2 (Tue Mar  2 19:03:41 UTC 2010)
- For user: (stain) Stian Soiland-Reyes,,,, -->
-<!-- Title: A_simple_hello_world_workflow Pages: 1 -->
-<svg width="146pt" height="210pt"
- viewBox="0.00 0.00 146.00 210.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 206)">
-<title>A_simple_hello_world_workflow</title>
-<polygon style="fill:#ffffff;stroke:#ffffff;" points="-4,4 -4,-206 142,-206 142,4 -4,4"/>
-<g id="cluster2" class="cluster"><title>cluster_A_simple_hello_world_workflowsinks</title>
-<polygon style="fill:none;stroke:black;stroke-dasharray:1,5;" points="11,-16 11,-73 130,-73 130,-16 11,-16"/>
-<text text-anchor="middle" x="70" y="-60.5" style="font-family:Times New Roman;font-size:10.00;">Workflow output ports</text>
-</g>
-<g id="cluster3" class="cluster"><title>cluster_A_simple_hello_world_workflowsources</title>
-<polygon style="fill:none;stroke:black;stroke-dasharray:1,5;" points="10,-137 10,-194 121,-194 121,-137 10,-137"/>
-<text text-anchor="middle" x="65" y="-181.5" style="font-family:Times New Roman;font-size:10.00;">Workflow input ports</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSINKCONTROL -->
-<g id="node2" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSINKCONTROL</title>
-<polygon style="fill:#66cd00;stroke:black;" points="96,-28 102,-37 90,-37 96,-28"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results -->
-<g id="node3" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results</title>
-<polygon style="fill:#8ed6f0;stroke:black;" points="67,-44 23,-44 23,-24 67,-24 67,-44"/>
-<text text-anchor="middle" x="45" y="-31" style="font-family:Arial;font-size:10.00;">results</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCECONTROL -->
-<g id="node5" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCECONTROL</title>
-<polygon style="fill:#ff4040;stroke:black;" points="101,-161 95,-152 107,-152 101,-161"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName -->
-<g id="node6" class="node"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName</title>
-<polygon style="fill:#8ed6f0;stroke:black;" points="86,-165 26,-165 26,-145 86,-145 86,-165"/>
-<text text-anchor="middle" x="56" y="-152" style="font-family:Arial;font-size:10.00;">yourName</text>
-</g>
-<!-- A_simple_hello_world_workflowBeanshell -->
-<g id="node7" class="node"><title>A_simple_hello_world_workflowBeanshell</title>
-<polygon style="fill:#deb887;stroke:black;" points="58,-129 2.13163e-14,-129 0,-109 58,-109 58,-129"/>
-<text text-anchor="middle" x="29" y="-116" style="font-family:Arial;font-size:10.00;">Beanshell</text>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowBeanshell -->
-<g id="edge4" class="edge"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowBeanshell</title>
-<path style="fill:none;stroke:#000000;" d="M48,-145C46,-143 44,-140 42,-138"/>
-<polygon style="fill:#000000;stroke:#000000;" points="44.916,-136.042 37,-129 38.7969,-139.441 44.916,-136.042"/>
-</g>
-<!-- A_simple_hello_world_workflowMerge0 -->
-<g id="node8" class="node"><title>A_simple_hello_world_workflowMerge0</title>
-<ellipse style="fill:#4f94cd;stroke:black;" cx="45" cy="-87" rx="6" ry="6"/>
-</g>
-<!-- A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowMerge0 -->
-<g id="edge6" class="edge"><title>A_simple_hello_world_workflowWORKFLOWINTERNALSOURCE_yourName->A_simple_hello_world_workflowMerge0</title>
-<path style="fill:none;stroke:#000000;" d="M58,-145C60,-135 61,-121 58,-109 57,-106 56,-103 54,-100"/>
-<polygon style="fill:#000000;stroke:#000000;" points="57.268,-98.625 49,-92 51.332,-102.335 57.268,-98.625"/>
-</g>
-<!-- A_simple_hello_world_workflowBeanshell->A_simple_hello_world_workflowMerge0 -->
-<g id="edge8" class="edge"><title>A_simple_hello_world_workflowBeanshell->A_simple_hello_world_workflowMerge0</title>
-<path style="fill:none;stroke:#000000;" d="M34,-109C35,-107 36,-105 38,-102"/>
-<polygon style="fill:#000000;stroke:#000000;" points="41.1369,-103.56 42,-93 34.7402,-100.717 41.1369,-103.56"/>
-</g>
-<!-- A_simple_hello_world_workflowMerge0->A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results -->
-<g id="edge10" class="edge"><title>A_simple_hello_world_workflowMerge0->A_simple_hello_world_workflowWORKFLOWINTERNALSINK_results</title>
-<path style="fill:none;stroke:#000000;" d="M45,-81C45,-74 45,-64 45,-54"/>
-<polygon style="fill:#000000;stroke:#000000;" points="48.5001,-54 45,-44 41.5001,-54 48.5001,-54"/>
-</g>
-</g>
-</svg>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/mimetype
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/mimetype b/taverna-scufl2-rdf/src/test/resources/example/mimetype
deleted file mode 100644
index 2d61400..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/mimetype
+++ /dev/null
@@ -1 +0,0 @@
-application/vnd.taverna.scufl2.workflow-bundle
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.rdf
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.rdf b/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.rdf
deleted file mode 100644
index f1a622c..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.rdf
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version='1.0'?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<!-- Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp -->
-<!-- using base file:///home/stain/stuff/src/workspace/scufl2/scufl2-rdf/src/test/resources/example/profile/tavernaServer.ttl-->
-
-
-<rdf:RDF xmlns="http://ns.taverna.org.uk/2010/scufl2#"
- xmlns:beanshell="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:owl="http://www.w3.org/2002/07/owl#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
- xmlns:scufl2="http://ns.taverna.org.uk/2010/scufl2#">
-
- <Profile rdf:about="tavernaServer/">
- <activatesConfiguration rdf:resource="tavernaServer/configuration/Hello"/>
- <name>tavernaWorkbench</name>
- <processorBinding rdf:resource="tavernaServer/binding/Hello"/>
- <recommendsEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <os rdf:resource="http://www.ubuntu.com/#10.04"/>
- <workflowProduct rdf:resource="http://ns.taverna.org.uk/2010/taverna/server/"/>
- <dc:title>Taverna server installed on Ubuntu</dc:title>
- </recommendsEnvironment>
- <requiresEnvironment rdf:parseType="Resource">
- <rdf:type rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Environment"/>
- <architecture rdf:resource="http://www.intel.org/x64"/>
- <plugin rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#plugin"/>
- <product rdf:resource="http://ns.taverna.org.uk/2010/taverna/"/>
- <software rdf:resource="http://www.bioconductor.org/"/>
- <software rdf:resource="http://www.r-project.org/#2.11"/>
- <software rdf:resource="http://www.rforge.net/Rserve/"/>
- <dc:description>
- BioConductor installed in R, and Rserve running
- on port 1234. x64 but architecture.
- </dc:description>
- </requiresEnvironment>
- <dc:creator>Stian Soiland-Reyes</dc:creator>
- <dc:date>2010-07-29</dc:date>
- <dc:description>A profile for invoking the workflow on a Taverna Server</dc:description>
- </Profile>
-
- <beanshell:Activity rdf:about="tavernaServer/activity/HelloScript/">
- <inputActivityPort rdf:resource="tavernaServer/activity/HelloScript/in/personName"/>
- <outputActivityPort rdf:resource="tavernaServer/activity/HelloScript/out/hello"/>
- </beanshell:Activity>
-
- <InputActivityPort rdf:about="tavernaServer/activity/HelloScript/in/personName">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>personName</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </InputActivityPort>
-
- <OutputActivityPort rdf:about="tavernaServer/activity/HelloScript/out/hello">
- <granularPortDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</granularPortDepth>
- <name>hello</name>
- <portDepth rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</portDepth>
- </OutputActivityPort>
-
- <ProcessorBinding rdf:about="tavernaServer/binding/Hello">
- <boundActivity rdf:resource="tavernaServer/activity/HelloScript/"/>
- <boundProcessor rdf:resource="../workflow/HelloWorld/processor/Hello/"/>
- <inputPortBinding rdf:parseType="Resource">
- <bindsInputActivityPort rdf:resource="tavernaServer/activity/HelloScript/in/personName"/>
- <bindsInputProcessorPort rdf:resource="../workflow/HelloWorld/processor/Hello/in/name"/>
- </inputPortBinding>
- <outputPortBinding rdf:parseType="Resource">
- <bindsOutputActivityPort rdf:resource="tavernaServer/activity/HelloScript/out/hello"/>
- <bindsOutputProcessorPort rdf:resource="../workflow/HelloWorld/processor/Hello/out/greeting"/>
- </outputPortBinding>
- </ProcessorBinding>
-
- <beanshell:Configuration rdf:about="tavernaServer/configuration/Hello">
- <configures rdf:resource="tavernaServer/activity/HelloScript/"/>
- <beanshell:script>
- hello = "Hello, " + personName;
- System.out.println("Server says: " + hello);
- </beanshell:script>
- </beanshell:Configuration>
-
- <owl:Class rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Activity">
- <configurationType rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration"/>
- <rdfs:subClassOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Activity"/>
- </owl:Class>
-
- <owl:Class rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration">
- <rdfs:subClassOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#Configuration"/>
- </owl:Class>
-
- <owl:DatatypeProperty rdf:about="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#script">
- <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
- <required rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</required>
- <rdfs:domain rdf:resource="http://ns.taverna.org.uk/2010/taverna/activities/beanshell#Configuration"/>
- <rdfs:label>script</rdfs:label>
- <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
- <rdfs:subPropertyOf rdf:resource="http://ns.taverna.org.uk/2010/scufl2#script"/>
- </owl:DatatypeProperty>
-
- <rdf:Description rdf:about="http://www.ubuntu.com/#10.04">
- <version>10.04</version>
- <dc:title>Ubuntu Linux</dc:title>
- </rdf:Description>
-</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/db25fe67/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.ttl
----------------------------------------------------------------------
diff --git a/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.ttl b/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.ttl
deleted file mode 100644
index b53fabb..0000000
--- a/taverna-scufl2-rdf/src/test/resources/example/profile/tavernaServer.ttl
+++ /dev/null
@@ -1,109 +0,0 @@
-@base <tavernaServer/> .
-@prefix beanshell: <http://ns.taverna.org.uk/2010/taverna/activities/beanshell#> .
-@prefix dc: <http://purl.org/dc/elements/1.1/> .
-@prefix owl: <http://www.w3.org/2002/07/owl#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix scufl2: <http://ns.taverna.org.uk/2010/scufl2#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-
-<.>
- a scufl2:Profile;
- scufl2:name "tavernaWorkbench" ;
- dc:description """A profile for invoking the workflow on a Taverna Server""" ;
- dc:creator "Stian Soiland-Reyes" ;
- dc:date "2010-07-29" ;
- scufl2:processorBinding <binding/Hello> ;
- scufl2:activatesConfiguration <configuration/Hello> ;
- scufl2:recommendsEnvironment [
- # Not really any need to give a URI to this specialized
- # environment
- a scufl2:Environment;
- scufl2:workflowProduct <http://ns.taverna.org.uk/2010/taverna/server/>;
- scufl2:os <http://www.ubuntu.com/#10.04>;
- dc:title "Taverna server installed on Ubuntu"
- ] ;
- scufl2:requiresEnvironment [
- a scufl2:Environment;
- scufl2:product <http://ns.taverna.org.uk/2010/taverna/>;
- scufl2:plugin beanshell:plugin;
- dc:description """
- BioConductor installed in R, and Rserve running
- on port 1234. x64 but architecture.
- """;
- # There's not really any agreed URIs for Windows/Linux/etc
- # .. but at least the scufl:os and :software URIs can be clickable
- # for a browser. A GUI could simply say:
- #
- # This workflow execution profile requires/recommends:
- # OS: [x] Ubuntu Linux (10.04)
- # Software: [x] http://www.r-project.org/
- # [x] http://www.rforge.net/Rserve/
- # [ ] http://www.bioconductor.org/
- # Tick for software you have installed.
- #
- scufl2:software <http://www.r-project.org/#2.11>;
- scufl2:software <http://www.rforge.net/Rserve/>;
- scufl2:software <http://www.bioconductor.org/>;
- scufl2:architecture <http://www.intel.org/x64>
- ] .
-
-<http://www.ubuntu.com/#10.04>
- scufl2:version "10.04";
- dc:title "Ubuntu Linux".
-
-<binding/Hello> a scufl2:ProcessorBinding ;
- scufl2:boundProcessor <../../workflow/HelloWorld/processor/Hello/> ;
- scufl2:boundActivity <activity/HelloScript/> ;
- scufl2:inputPortBinding [
- scufl2:bindsInputProcessorPort <../../workflow/HelloWorld/processor/Hello/in/name> ;
- scufl2:bindsInputActivityPort <activity/HelloScript/in/personName>
- ] ;
- scufl2:outputPortBinding [
- scufl2:bindsOutputActivityPort <activity/HelloScript/out/hello> ;
- scufl2:bindsOutputProcessorPort <../../workflow/HelloWorld/processor/Hello/out/greeting>
- ] .
-
-
-<activity/HelloScript/> a beanshell:Activity ;
- scufl2:inputActivityPort <activity/HelloScript/in/personName> ;
- scufl2:outputActivityPort <activity/HelloScript/out/hello> .
-
-<activity/HelloScript/in/personName> a scufl2:InputActivityPort ;
- scufl2:name "personName";
- scufl2:portDepth 0 ;
- scufl2:granularPortDepth 0 .
-
-<activity/HelloScript/out/hello> a scufl2:OutputActivityPort ;
- scufl2:name "hello";
- scufl2:portDepth 0 ;
- scufl2:granularPortDepth 0 .
-
-
-<configuration/Hello> a beanshell:Configuration;
- scufl2:configures <activity/HelloScript/> ;
- beanshell:script """
- hello = "Hello, " + personName;
- System.out.println("Server says: " + hello);
- """ .
-
-
-# Define possible configurations for a beanshell
-
-beanshell:Activity a owl:Class;
- scufl2:configurationType beanshell:Configuration;
- rdfs:subClassOf scufl2:Activity .
-
-beanshell:Configuration a owl:Class;
- rdfs:subClassOf scufl2:Configuration .
-
-beanshell:script
- a owl:DatatypeProperty, owl:FunctionalProperty ;
- rdfs:domain beanshell:Configuration;
- rdfs:label "script" ;
- rdfs:range xsd:string ;
- scufl2:required true ;
- rdfs:subPropertyOf scufl2:script .
-
-
-