-
Notifications
You must be signed in to change notification settings - Fork 1
/
workflow.wfdesc.ttl
66 lines (54 loc) · 3.33 KB
/
workflow.wfdesc.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@base <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix wfdesc: <http://purl.org/wf4ever/wfdesc#> .
@prefix wf4ever: <http://purl.org/wf4ever/wf4ever#> .
@prefix roterms: <http://purl.org/wf4ever/roterms#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix comp: <http://purl.org/DP/components#> .
@prefix dep: <http://scape.keep.pt/vocab/dependencies#> .
@prefix biocat: <http://biocatalogue.org/attribute/> .
@prefix : <#> .
<processor/Concatenate_two_strings/> a wfdesc:Process , wfdesc:Description , owl:Thing , wf4ever:BeanshellScript ;
rdfs:label "Concatenate_two_strings" ;
wfdesc:hasInput <processor/Concatenate_two_strings/in/string1> , <processor/Concatenate_two_strings/in/string2> ;
wfdesc:hasOutput <processor/Concatenate_two_strings/out/output> ;
wf4ever:script "output = string1 + string2;" .
<datalink?from=in/name&to=processor/Concatenate_two_strings/in/string2> a wfdesc:DataLink ;
wfdesc:hasSource <in/name> ;
wfdesc:hasSink <processor/Concatenate_two_strings/in/string2> .
<datalink?from=processor/Concatenate_two_strings/out/output&to=out/greeting> a wfdesc:DataLink ;
wfdesc:hasSource <processor/Concatenate_two_strings/out/output> ;
wfdesc:hasSink <out/greeting> .
<datalink?from=processor/hello/out/value&to=processor/Concatenate_two_strings/in/string1> a wfdesc:DataLink ;
wfdesc:hasSource <processor/hello/out/value> ;
wfdesc:hasSink <processor/Concatenate_two_strings/in/string1> .
<> a wfdesc:Workflow , wfdesc:Description , wfdesc:Process ;
dcterms:description "An extension to helloworld.t2flow - this workflow takes a workflow input \"name\" which is combined with the string constant \"Hello, \" using the local worker \"Concatenate two strings\", and outputs the produced string to the workflow output \"greeting\"." ;
dc:creator "Stian Soiland-Reyes" ;
dcterms:title "Hello Anyone" ;
rdfs:label "Hello_Anyone" ;
wfdesc:hasInput <in/name> ;
wfdesc:hasOutput <out/greeting> ;
wfdesc:hasSubProcess <processor/Concatenate_two_strings/> , <processor/hello/> ;
wfdesc:hasDataLink <datalink?from=processor/Concatenate_two_strings/out/output&to=out/greeting> , <datalink?from=processor/hello/out/value&to=processor/Concatenate_two_strings/in/string1> , <datalink?from=in/name&to=processor/Concatenate_two_strings/in/string2> .
<in/name> a wfdesc:Input , wfdesc:Description , wfdesc:Output ;
dcterms:description "Your name for the greeting" ;
biocat:exampleData "World!" ;
rdfs:label "name" .
<out/greeting> a wfdesc:Output , wfdesc:Description , wfdesc:Input ;
rdfs:label "greeting" .
<processor/Concatenate_two_strings/in/string1> a wfdesc:Input , wfdesc:Description ;
rdfs:label "string1" .
<processor/Concatenate_two_strings/in/string2> a wfdesc:Input , wfdesc:Description ;
rdfs:label "string2" .
<processor/Concatenate_two_strings/out/output> a wfdesc:Output , wfdesc:Description ;
rdfs:label "output" .
<processor/hello/> a wfdesc:Process , wfdesc:Description ;
rdfs:label "hello" ;
wfdesc:hasOutput <processor/hello/out/value> .
<processor/hello/out/value> a wfdesc:Output , wfdesc:Description ;
rdfs:label "value" .