Data Product Ro Crate
The RO Crate for a DataProduct.
An RO Crate is research object (RO) that has been packaged up, in this case as a zip
file. This research object is centred around the creation of a DataProduct. The
DataProduct file is packaged up along with any other local files that were used to
produce it. Also included in the RO Crate is the metadata file ro-crate-metadata.json.
The ro-crate-metadata.json file is made available under the
CC0 Public Domain Dedication.
Please note individual files may have their own licenses.
All of the packaged files are represented as File data entities in the metadata file.
External files may point directly to data, in which case they will be used directly as
inputs to a CodeRun. External files will have a link to them in the metadata file, but
will not be packaged in the zip file. However, it maybe that data has had to be
extracted from an external file before it can be used by a CodeRun, i.e. from a
journal article, In which case there will be an associated DataProduct that would have
been made to contain the data so that it can be used in a CodeRun. If this is the case
the relationship between the external file and DataProduct is modelled as a RO Crate
ContextEntity of type CreateAction.
The CodeRun has been modelled as a RO Crate ContextEntity of type CreateAction,
see
software-used-to-create-files.
A CreateAction has instrument property, which represents the software used to
generate the product. For our purposes instrument is the link to the repo.
CreateAction (CodeRun) properties:
instrument: the software used to generate the outputobject: the input filesresult: the output fileagent: theAuthor
The RO Crate is available as a zip file.
The contents of the ro-crate-metadata file can be viewed as JSON or JSON-LD.
Query parameters:
depth (optional): An integer used to determine how many code runs to include,
the default is 1.
GET /api/ro-crate/data-product/4/?format=api
{ "@context": [ "https://w3id.org/ro/crate/1.2/context", { "sha1": "https://w3id.org/ro/terms/workflow-run#sha1" } ], "@graph": [ { "@id": "./", "@type": "Dataset", "datePublished": "2026-10-04T20:02:07.624014", "publisher": "FAIR Data Pipeline", "name": "RO Crate for SEIRS_model/results/model_output/R", "license": { "@id": "https://creativecommons.org/licenses/by/4.0/" }, "hasPart": [ { "@id": "outputs/6394e56e8ad17eff88ea5f7ea6d4f1016bf0c05a.csv" }, { "@id": "inputs/model_config/f1e9befad727fc70ce0bdecf3ad48f43204e3963.yaml" }, { "@id": "inputs/submission_script/89961dc1ec5e622fa68e678495569f10f0f285bb.sh" }, { "@id": "https://doi.org/10.1038/s41592-020-0856-2" } ] }, { "@id": "ro-crate-metadata.json", "@type": "CreativeWork", "conformsTo": { "@id": "https://w3id.org/ro/crate/1.2" }, "about": { "@id": "./" }, "license": { "@id": "https://creativecommons.org/publicdomain/zero/1.0/" } }, { "@id": "https://creativecommons.org/licenses/by/4.0/", "@type": "CreativeWork", "description": "Attribution 4.0 International", "identifier": "https://creativecommons.org/licenses/by/4.0/", "name": "CC BY 4.0" }, { "@id": "https://creativecommons.org/publicdomain/zero/1.0/", "@type": "CreativeWork", "description": "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", "identifier": "https://creativecommons.org/publicdomain/zero/1.0/", "name": "CC0 Public Domain Dedication" }, { "@id": "outputs/6394e56e8ad17eff88ea5f7ea6d4f1016bf0c05a.csv", "@type": "File", "name": "SEIRS_model/results/model_output/R", "encodingFormat": "text/csv", "sha1": "6394e56e8ad17eff88ea5f7ea6d4f1016bf0c05a", "author": [ { "@id": "https://github.com/RyanJField" } ] }, { "@id": "https://github.com/RyanJField", "@type": "Person", "name": "Ryan J Field" }, { "@id": "https://data.fairdatapipeline.org/api/code_run/2", "@type": "CreateAction", "name": "code run 2", "startTime": "2026-10-03T17:36:08+00:00", "description": "SEIRS Model R", "agent": { "@id": "https://github.com/RyanJField" }, "result": { "@id": "outputs/6394e56e8ad17eff88ea5f7ea6d4f1016bf0c05a.csv" }, "instrument": { "@id": "https://github.com/FAIRDataPipeline/rSimpleModel.git" }, "object": [ { "@id": "inputs/model_config/f1e9befad727fc70ce0bdecf3ad48f43204e3963.yaml" }, { "@id": "inputs/submission_script/89961dc1ec5e622fa68e678495569f10f0f285bb.sh" }, { "@id": "https://doi.org/10.1038/s41592-020-0856-2" } ] }, { "@id": "https://github.com/FAIRDataPipeline/rSimpleModel.git", "@type": "SoftwareApplication", "url": "https://github.com/FAIRDataPipeline/rSimpleModel.git", "author": [ { "@id": "https://github.com/RyanJField" } ] }, { "@id": "inputs/model_config/f1e9befad727fc70ce0bdecf3ad48f43204e3963.yaml", "@type": [ "File", "SoftwareSourceCode" ], "name": "f1e9befad727fc70ce0bdecf3ad48f43204e3963", "description": "Working config.yaml file location in local datastore", "encodingFormat": "yaml", "sha1": "f1e9befad727fc70ce0bdecf3ad48f43204e3963", "author": [ { "@id": "https://github.com/RyanJField" } ] }, { "@id": "inputs/submission_script/89961dc1ec5e622fa68e678495569f10f0f285bb.sh", "@type": [ "File", "SoftwareSourceCode" ], "name": "89961dc1ec5e622fa68e678495569f10f0f285bb", "description": "Submission script location in local datastore", "encodingFormat": "text/x-sh", "sha1": "89961dc1ec5e622fa68e678495569f10f0f285bb", "author": [ { "@id": "https://github.com/RyanJField" } ] }, { "@id": "https://doi.org/10.1038/s41592-020-0856-2", "@type": "File", "name": "Static parameters of the model", "datePublished": "2021-09-20 12:00:00+00:00", "author": [ { "@id": "https://github.com/RyanJField" } ] } ] }