Skip to content
Snippets Groups Projects

add example roc metadata

Open Caroline Ott requested to merge ROC into main
+ 189
0
 
{ "@context": "https://w3id.org/ro/crate/1.1/context",
 
"@graph": [
 
{
 
"@type": "CreativeWork",
 
"@id": "ro-crate-metadata.json",
 
"conformsTo": { "@id": "https://w3id.org/ro/crate/1.1" },
 
"about": { "@id": "./" }
 
},
 
{
 
"@id": "./workflows",
 
"@type": "Dataset",
 
"hasPart": [
 
{ "@id": "workflows/workflow.cwl" }
 
]
 
},
 
{
 
"@id": "workflows/workflow.cwl",
 
"@type": [ "File", "SoftwareSourceCode", "ComputationalWorkflow" ],
 
"conformsTo": { "@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/" },
 
"name": "Column Addition",
 
"programmingLanguage": [
 
{ "@id": "#FSharp" },
 
{ "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl" }
 
],
 
"creator": { "@id": "#timo" },
 
"dateCreated": "2024-02-05",
 
"input": [
 
{ "@id": "#1" },
 
{ "@id": "#2" }
 
],
 
"output": [
 
{ "@id": "#3" }
 
]
 
},
 
{
 
"@id": "#1",
 
"@type": "FormalParameter",
 
"conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" },
 
"name": "intensity_table",
 
"valueRequired": true,
 
"additionalType": { "@id": "http://edamontology.org/data_2976" },
 
"format": { "@id": "http://edamontology.org/format_3752" }
 
},
 
{
 
"@id": "#2",
 
"@type": "FormalParameter",
 
"conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" },
 
"name": "file_name"
 
},
 
{
 
"@id": "#3",
 
"@type": "FormalParameter",
 
"conformsTo": { "@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/" },
 
"name": "summed_intensities",
 
"additionalType": { "@id": "http://edamontology.org/data_2976" },
 
"encodingFormat": { "@id": "http://edamontology.org/format_3475" }
 
},
 
{
 
"@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl",
 
"@type": "computerlanguage",
 
"name": "common workflow language",
 
"alternatename": "cwl",
 
"identifier": {
 
"@id": "https://w3id.org/cwl/v1.2/"
 
},
 
"url": {
 
"@id": "https://www.commonwl.org/"
 
}
 
},
 
{
 
"@id": "#FSharp",
 
"@type": "ProgrammingLanguage",
 
"name": "F Sharp",
 
"alternateName": "F#",
 
"url": "https://dotnet.microsoft.com/en-us/languages/fsharp",
 
"version": "6.0"
 
},
 
{
 
"@id": "#timo",
 
"@type": "Person",
 
"name": "Timo Mühlhaus"
 
},
 
{
 
"@id": "http://edamontology.org/format_3752",
 
"@type": "Thing",
 
"name": "Comma-separated values"
 
},
 
{
 
"@id": "http://edamontology.org/format_3475",
 
"@type": "Thing",
 
"name": "Tab-separated values"
 
},
 
{
 
"@id": "./arc/runs",
 
"@type": "Dataset",
 
"hasPart": [
 
{ "@id": "runs" }
 
]
 
},
 
{
 
"@id": "runs",
 
"@type": [ "File", "SoftwareSourceCode", "ComputationalWorkflow" ],
 
"conformsTo": { "@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/" },
 
"name": "Column Addition",
 
"programmingLanguage": [
 
{ "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl" }
 
],
 
"creator": { "@id": "#timo" },
 
"dateCreated": "2024-02-05",
 
"about": [
 
{
 
"@id": "#Process_script.fsx",
 
"@type": [
 
"Process"
 
],
 
"name": "script.fsx",
 
"parameterValues": [
 
{
 
"@id": "ARCtrl.Json.PropertyValue+ROCrate+genID@16[ARCtrl.Process.ProcessParameterValue]/{Name = \"Data Transformation\"}Some(Ontology\n {Name = \"Addition\"; TSR = \"NCIT\"; TAN = \"http://purl.obolibrary.org/obo/NCIT_C64911\"})",
 
"@type": "PropertyValue",
 
"additionalType": "ProcessParameterValue",
 
"category": "Data Transformation",
 
"value": "Addition",
 
"valueCode": "http://purl.obolibrary.org/obo/NCIT_C64911",
 
"@context": {
 
"sdo": "http://schema.org/",
 
"additionalType": "sdo:additionalType",
 
"category": "sdo:name",
 
"categoryCode": "sdo:propertyID",
 
"value": "sdo:value",
 
"valueCode": "sdo:valueReference",
 
"unit": "sdo:unitText",
 
"unitCode": "sdo:unitCode",
 
"comments": "sdo:disambiguatingDescription"
 
}
 
}
 
],
 
"inputs": [
 
{
 
"@id": "./arc/assays/measurement1/dataset/table.csv",
 
"@type": [
 
"Data"
 
],
 
"name": "./arc/assays/measurement1/dataset/table.csv",
 
"type": "Raw Data File",
 
"@context": {
 
"sdo": "http://schema.org/",
 
"Data": "sdo:MediaObject",
 
"type": "sdo:disambiguatingDescription",
 
"name": "sdo:name",
 
"comments": "sdo:comment"
 
}
 
}
 
],
 
"outputs": [
 
{
 
"@id": "./arc/runs/fsResult1/result.csv",
 
"@type": [
 
"Data"
 
],
 
"name": "./arc/runs/fsResult1/result.csv",
 
"type": "Derived Data File",
 
"@context": {
 
"sdo": "http://schema.org/",
 
"Data": "sdo:MediaObject",
 
"type": "sdo:disambiguatingDescription",
 
"name": "sdo:name",
 
"comments": "sdo:comment"
 
}
 
}
 
],
 
"@context": {
 
"sdo": "http://schema.org/",
 
"bio": "https://bioschemas.org/",
 
"Process": "bio:LabProcess",
 
"name": "sdo:name",
 
"executesProtocol": "bio:executesLabProtocol",
 
"parameterValues": "bio:parameterValue",
 
"performer": "sdo:agent",
 
"date": "sdo:endTime",
 
"inputs": "sdo:object",
 
"outputs": "sdo:result",
 
"comments": "sdo:disambiguatingDescription"
 
}
 
}
 
]
 
}
 
]
 
}
Loading