{
    "@context": [
        "https://w3id.org/ro/crate/1.3/context",
        "https://w3id.org/ro/terms/workflow-run/context"
    ],
    "@graph": [
        {
            "@id": "ro-crate-metadata.json",
            "@type": "CreativeWork",
            "about": {
                "@id": "./"
            },
            "conformsTo": [
                {
                    "@id": "https://w3id.org/ro/crate/1.3"
                }
            ]
        },
        {
            "@id": "./",
            "@type": "Dataset",
            "conformsTo": [
                {
                    "@id": "https://w3id.org/ro/wfrun/process/0.6"
                },
                {
                    "@id": "https://w3id.org/ro/wfrun/workflow/0.6"
                },
                {
                    "@id": "https://w3id.org/ro/wfrun/provenance/0.6"
                },
                {
                    "@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.1"
                }
            ],
            "hasPart": [
                {
                    "@id": "packed.cwl"
                },
                {
                    "@id": "327fc7aedf4f6b69a42a7c8b808dc5a7aff61376"
                },
                {
                    "@id": "b9214658cc453331b62c2282b772a5c063dbd284"
                },
                {
                    "@id": "97fe1b50b4582cebc7d853796ebd62e3e163aa3f"
                }
            ],
            "mainEntity": {
                "@id": "packed.cwl"
            },
            "mentions": [
                {
                    "@id": "#4154dad3-00cc-4e35-bb8f-a2de5cd7dc49"
                }
            ]
        },
        {
            "@id": "https://w3id.org/ro/wfrun/process/0.6",
            "@type": "CreativeWork",
            "name": "Process Run Crate",
            "version": "0.6"
        },
        {
            "@id": "https://w3id.org/ro/wfrun/workflow/0.6",
            "@type": "CreativeWork",
            "name": "Workflow Run Crate",
            "version": "0.6"
        },
        {
            "@id": "https://w3id.org/ro/wfrun/provenance/0.6",
            "@type": "CreativeWork",
            "name": "Provenance Run Crate",
            "version": "0.6"
        },
        {
            "@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.1",
            "@type": "CreativeWork",
            "name": "Workflow RO-Crate",
            "version": "1.1"
        },
        {
            "@id": "packed.cwl",
            "@type": [
                "File",
                "SoftwareSourceCode",
                "ComputationalWorkflow",
                "HowTo"
            ],
            "hasPart": [
                {
                    "@id": "packed.cwl#revtool.cwl"
                },
                {
                    "@id": "packed.cwl#sorttool.cwl"
                }
            ],
            "input": [
                {
                    "@id": "packed.cwl#main/input"
                },
                {
                    "@id": "packed.cwl#main/reverse_sort"
                }
            ],
            "name": "packed.cwl",
            "output": [
                {
                    "@id": "packed.cwl#main/output"
                }
            ],
            "programmingLanguage": {
                "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl"
            },
            "step": [
                {
                    "@id": "packed.cwl#main/rev"
                },
                {
                    "@id": "packed.cwl#main/sorted"
                }
            ]
        },
        {
            "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl",
            "@type": "ComputerLanguage",
            "alternateName": "CWL",
            "identifier": {
                "@id": "https://w3id.org/cwl/v1.0/"
            },
            "name": "Common Workflow Language",
            "url": {
                "@id": "https://www.commonwl.org/"
            },
            "version": "v1.0"
        },
        {
            "@id": "packed.cwl#main/input",
            "@type": "FormalParameter",
            "additionalType": "File",
            "defaultValue": "file:///home/stain/src/cwltool/tests/wf/hello.txt",
            "encodingFormat": "https://www.iana.org/assignments/media-types/text/plain",
            "name": "main/input"
        },
        {
            "@id": "packed.cwl#main/reverse_sort",
            "@type": "FormalParameter",
            "additionalType": "Boolean",
            "defaultValue": "True",
            "name": "main/reverse_sort"
        },
        {
            "@id": "packed.cwl#main/output",
            "@type": "FormalParameter",
            "additionalType": "File",
            "name": "main/output"
        },
        {
            "@id": "packed.cwl#main/rev",
            "@type": "HowToStep",
            "position": "0",
            "workExample": {
                "@id": "packed.cwl#revtool.cwl"
            }
        },
        {
            "@id": "packed.cwl#revtool.cwl",
            "@type": "SoftwareApplication",
            "description": "Reverse each line using the `rev` command",
            "input": [
                {
                    "@id": "packed.cwl#revtool.cwl/input"
                }
            ],
            "name": "revtool.cwl",
            "output": [
                {
                    "@id": "packed.cwl#revtool.cwl/output"
                }
            ]
        },
        {
            "@id": "packed.cwl#revtool.cwl/input",
            "@type": "FormalParameter",
            "additionalType": "File",
            "name": "revtool.cwl/input"
        },
        {
            "@id": "packed.cwl#revtool.cwl/output",
            "@type": "FormalParameter",
            "additionalType": "File",
            "name": "revtool.cwl/output"
        },
        {
            "@id": "packed.cwl#main/sorted",
            "@type": "HowToStep",
            "position": "1",
            "workExample": {
                "@id": "packed.cwl#sorttool.cwl"
            }
        },
        {
            "@id": "packed.cwl#sorttool.cwl",
            "@type": "SoftwareApplication",
            "description": "Sort lines using the `sort` command",
            "input": [
                {
                    "@id": "packed.cwl#sorttool.cwl/reverse"
                },
                {
                    "@id": "packed.cwl#sorttool.cwl/input"
                }
            ],
            "name": "sorttool.cwl",
            "output": [
                {
                    "@id": "packed.cwl#sorttool.cwl/output"
                }
            ]
        },
        {
            "@id": "packed.cwl#sorttool.cwl/reverse",
            "@type": "FormalParameter",
            "additionalType": "Boolean",
            "name": "sorttool.cwl/reverse"
        },
        {
            "@id": "packed.cwl#sorttool.cwl/input",
            "@type": "FormalParameter",
            "additionalType": "File",
            "name": "sorttool.cwl/input"
        },
        {
            "@id": "packed.cwl#sorttool.cwl/output",
            "@type": "FormalParameter",
            "additionalType": "File",
            "name": "sorttool.cwl/output"
        },
        {
            "@id": "#a73fd902-8d14-48c9-835b-a5ba2f9149fd",
            "@type": "SoftwareApplication",
            "name": "cwltool 1.0.20181012180214"
        },
        {
            "@id": "#d6ab3175-88f5-4b6a-b028-1b13e6d1a158",
            "@type": "OrganizeAction",
            "agent": {
                "@id": "https://orcid.org/0000-0001-9842-9718"
            },
            "instrument": {
                "@id": "#a73fd902-8d14-48c9-835b-a5ba2f9149fd"
            },
            "name": "Run of cwltool 1.0.20181012180214",
            "object": [
                {
                    "@id": "#4f7f887f-1b9b-4417-9beb-58618a125cc5"
                },
                {
                    "@id": "#793b3df4-cbb7-4d17-94d4-0edb18566ed3"
                }
            ],
            "result": {
                "@id": "#4154dad3-00cc-4e35-bb8f-a2de5cd7dc49"
            },
            "startTime": "2018-10-25T15:46:35.210973"
        },
        {
            "@id": "https://orcid.org/0000-0001-9842-9718",
            "@type": "Person",
            "name": "Stian Soiland-Reyes"
        },
        {
            "@id": "#4154dad3-00cc-4e35-bb8f-a2de5cd7dc49",
            "@type": "CreateAction",
            "endTime": "2018-10-25T15:46:43.020168",
            "instrument": {
                "@id": "packed.cwl"
            },
            "name": "Run of workflow/packed.cwl#main",
            "object": [
                {
                    "@id": "327fc7aedf4f6b69a42a7c8b808dc5a7aff61376"
                },
                {
                    "@id": "#pv-main/reverse_sort"
                }
            ],
            "result": [
                {
                    "@id": "b9214658cc453331b62c2282b772a5c063dbd284"
                }
            ],
            "startTime": "2018-10-25T15:46:35.211153"
        },
        {
            "@id": "327fc7aedf4f6b69a42a7c8b808dc5a7aff61376",
            "@type": "File",
            "exampleOfWork": [
                {
                    "@id": "packed.cwl#main/input"
                },
                {
                    "@id": "packed.cwl#revtool.cwl/input"
                }
            ]
        },
        {
            "@id": "#pv-main/reverse_sort",
            "@type": "PropertyValue",
            "exampleOfWork": {
                "@id": "packed.cwl#main/reverse_sort"
            },
            "name": "main/reverse_sort",
            "value": "True"
        },
        {
            "@id": "b9214658cc453331b62c2282b772a5c063dbd284",
            "@type": "File",
            "exampleOfWork": [
                {
                    "@id": "packed.cwl#main/output"
                },
                {
                    "@id": "packed.cwl#sorttool.cwl/output"
                }
            ]
        },
        {
            "@id": "#6933cce1-f8f0-4032-8848-e0fc9166e92f",
            "@type": "CreateAction",
            "endTime": "2018-10-25T15:46:36.967359",
            "instrument": {
                "@id": "packed.cwl#revtool.cwl"
            },
            "name": "Run of workflow/packed.cwl#main/rev",
            "object": [
                {
                    "@id": "327fc7aedf4f6b69a42a7c8b808dc5a7aff61376"
                }
            ],
            "result": [
                {
                    "@id": "97fe1b50b4582cebc7d853796ebd62e3e163aa3f"
                }
            ],
            "startTime": "2018-10-25T15:46:35.314101"
        },
        {
            "@id": "#4f7f887f-1b9b-4417-9beb-58618a125cc5",
            "@type": "ControlAction",
            "instrument": {
                "@id": "packed.cwl#main/rev"
            },
            "name": "orchestrate revtool.cwl",
            "object": {
                "@id": "#6933cce1-f8f0-4032-8848-e0fc9166e92f"
            }
        },
        {
            "@id": "97fe1b50b4582cebc7d853796ebd62e3e163aa3f",
            "@type": "File",
            "exampleOfWork": [
                {
                    "@id": "packed.cwl#revtool.cwl/output"
                },
                {
                    "@id": "packed.cwl#sorttool.cwl/input"
                }
            ]
        },
        {
            "@id": "#9eac64b2-c2c8-401f-9af8-7cfb0e998107",
            "@type": "CreateAction",
            "endTime": "2018-10-25T15:46:38.069110",
            "instrument": {
                "@id": "packed.cwl#sorttool.cwl"
            },
            "name": "Run of workflow/packed.cwl#main/sorted",
            "object": [
                {
                    "@id": "97fe1b50b4582cebc7d853796ebd62e3e163aa3f"
                },
                {
                    "@id": "#pv-main/sorted/reverse"
                }
            ],
            "result": [
                {
                    "@id": "b9214658cc453331b62c2282b772a5c063dbd284"
                }
            ],
            "startTime": "2018-10-25T15:46:36.975235"
        },
        {
            "@id": "#793b3df4-cbb7-4d17-94d4-0edb18566ed3",
            "@type": "ControlAction",
            "instrument": {
                "@id": "packed.cwl#main/sorted"
            },
            "name": "orchestrate sorttool.cwl",
            "object": {
                "@id": "#9eac64b2-c2c8-401f-9af8-7cfb0e998107"
            }
        },
        {
            "@id": "#pv-main/sorted/reverse",
            "@type": "PropertyValue",
            "exampleOfWork": {
                "@id": "packed.cwl#sorttool.cwl/reverse"
            },
            "name": "main/sorted/reverse",
            "value": "True"
        }
    ]
}
