@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix DockerRequirement: <https://w3id.org/cwl/cwl#DockerRequirement/> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns2:   <http://commonwl.org/cwltool#> .
@prefix ns1:   <https://schema.org/> .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool/name>
        rdfs:comment  "the name to greet" ;
        sld:type      xsd:string .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello>
        cwl:in   <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello/name> ;
        cwl:out  <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello/result> ;
        cwl:run  <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool> .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline>
        a                        cwl:Workflow ;
        rdfs:comment             "A single step pipeline that uses the helloworld tool" ;
        ns2:original_cwlVersion  "v1.2" ;
        ns1:author               [ a          ns1:Person ;
                                   ns1:email  "miguel.r.correia@inesctec.pt" ;
                                   ns1:name   "Miguel Correia"
                                 ] ;
        ns1:codeRepository       "https://github.com/ILIAD-ocean-twin/application_package/" ;
        ns1:contributor          [ a          ns1:Person ;
                                   ns1:email  "marco.a.oliveira@inesctec.pt" ;
                                   ns1:name   "Marco Oliveira"
                                 ] ;
        ns1:dateCreated          "2024-08-20" ;
        ns1:description          "A python hello world example application package" ;
        ns1:keywords             "python" , "example" , "hello world" ;
        ns1:name                 "Hello World Example" ;
        ns1:programmingLanguage  "python" ;
        ns1:softwareVersion      "0.0.0" ;
        ns1:sourceOrganization   [ a         ns1:Organization ;
                                   ns1:name  "INESCTEC" ;
                                   ns1:url   "https://inesctec.pt"
                                 ] ;
        Workflow:steps           <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello> ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/name> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/results> .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello/name>
        cwl:source  <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/name> .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/name>
        rdfs:comment  "the name to greet" ;
        sld:type      xsd:string .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool>
        a                        cwl:CommandLineTool ;
        ns2:original_cwlVersion  "v1.2" ;
        ns1:author               [ a          ns1:Person ;
                                   ns1:email  "miguel.r.correia@inesctec.pt" ;
                                   ns1:name   "Miguel Correia"
                                 ] ;
        ns1:codeRepository       "https://github.com/ILIAD-ocean-twin/application_package/" ;
        ns1:contributor          [ a          ns1:Person ;
                                   ns1:email  "marco.a.oliveira@inesctec.pt" ;
                                   ns1:name   "Marco Oliveira"
                                 ] ;
        ns1:dateCreated          "2024-08-20" ;
        ns1:description          "A python hello world example application package tool" ;
        ns1:keywords             "hello world" , "example tool" , "python" ;
        ns1:name                 "Hello World Example Tool" ;
        ns1:programmingLanguage  "python" ;
        ns1:softwareVersion      "0.0.0" ;
        ns1:sourceOrganization   [ a         ns1:Organization ;
                                   ns1:name  "INESCTEC" ;
                                   ns1:url   "https://inesctec.pt"
                                 ] ;
        cwl:arguments            ( "/opt/HelloWorld.py"
                                   [ cwl:valueFrom  "$( inputs.name )" ]
                                 ) ;
        cwl:baseCommand          ( "python" ) ;
        cwl:cwlVersion           cwl:v1.2 ;
        cwl:inputs               <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool/name> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool/result> ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "amarooliveira/helloworld:0.0.0"
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:stdout               "output.txt" .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_tool/result>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "output.txt" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/results>
        ns1:fileFormat    "text/plain" ;
        cwl:outputSource  <https://w3id.org/cwl/view/git/9a0db98839bbc655e12d49f56c61deecd77ff14c/HelloWorld/files/HelloWorld-pipeline-000.cwl#hello_pipeline/hello/result> ;
        sld:type          cwl:File .
