@prefix InplaceUpdateRequirement: <https://w3id.org/cwl/cwl#InplaceUpdateRequirement/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix Dirent: <https://w3id.org/cwl/cwl#Dirent/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns1:   <http://commonwl.org/cwltool#> .
@prefix ExpressionTool: <https://w3id.org/cwl/cwl#ExpressionTool/> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1/dirname>
        sld:default  "step1dir" .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3>
        cwl:in   <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d1> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d2> ;
        cwl:out  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d1out> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d2out> ;
        cwl:run  [ a                          cwl:ExpressionTool ;
                   ExpressionTool:expression  "$({d1out: inputs.d1.listing, d2out: inputs.d2.listing})" ;
                   cwl:inputs                 <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d1> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d2> ;
                   cwl:outputs                <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d1out> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d2out>
                 ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2/r>
        cwl:source  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1/out> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d2>
        cwl:source  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2/out> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d2out>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl>
        a                        cwl:Workflow ;
        ns1:original_cwlVersion  "v1.1" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/v1.2> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#a> , <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#b> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2>
        cwl:in   <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2/r> ;
        cwl:out  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step2/out> ;
        cwl:run  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d1>
        cwl:source  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1/out> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.1" ;
        cwl:arguments            ( "mkdir" "$(inputs.dirname)" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl#dirname> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl#out> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1>
        cwl:in   <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1/dirname> ;
        cwl:out  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step1/out> ;
        cwl:run  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl> .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d1out>
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] ;
        sld:type  [ sld:items  cwl:File ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl>
        a                        cwl:CommandLineTool ;
        ns1:original_cwlVersion  "v1.1" ;
        cwl:arguments            ( "touch" "inp/blurb" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl#r> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl#out> ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  [ Dirent:writable  true ;
                                                  cwl:entry        "$(inputs.r)" ;
                                                  cwl:entryname    "inp"
                                                ]
                                 ] ;
        cwl:requirements         [ a       cwl:InplaceUpdateRequirement ;
                                   InplaceUpdateRequirement:inplaceUpdate
                                           true
                                 ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl#out>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(inputs.dirname)" ] ;
        sld:type           cwl:Directory .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl#r>
        sld:type  cwl:Directory .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/mkdir.cwl#dirname>
        sld:type  xsd:string .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/updatedir_inplace.cwl#out>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "inp" ] ;
        sld:type           cwl:Directory .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#b>
        cwl:outputSource  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d2out> ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d2>
        cwl:loadListing  "shallow_listing" ;
        sld:type         cwl:Directory .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#a>
        cwl:outputSource  <https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/d1out> ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/3867f2fa4c204bc99dc664bb3f0ba71e360e142e/tests/inpdir_update_wf.cwl#step3/run/d1>
        cwl:loadListing  "shallow_listing" ;
        sld:type         cwl:Directory .
