RELIANCE project

Logo

Helping to realize the vision of FAIR research in EOSC

View the Project on GitHub RELIANCE-EOSC/reliance-ro-crate

RELIANCE RO-crate profile

Please leave any suggestions and comments here: https://github.com/RELIANCE-EOSC/reliance-ro-crate/issues

RELIANCE RO-Crates are a specialization of RO-Crate for packaging data cubes enabling access earth observation data, along with all the necessary and other related artifacts like documentation, images, related infrastructures, etc.

RELIANCE project uses RELIANCE RO-Crates as an exchange format to package data cubes in Earth Science.

Concepts

This section uses terminology from the RO-Crate 1.1 specification.

Context

The Crate JSON-LD MUST be valid according to RO-Crate 1.1 and SHOULD use the RO-Crate 1.1 @context https://w3id.org/ro/crate/1.1/context

Metadata File Descriptor

The Metadata File Descriptor conformsTo SHOULD be an array that contains at least https://w3id.org/ro/crate/1.1.

RELIANCE RO-Crate Description

A RELIANCE RO-Crate MAY include at least one Data Cube Data Entity, which MUST have the following properties:

DataCube Data Description

A DataCube Data Entity MAY include the following properties:

A DataCube Data Entity MUST include the following properties:

A DataCube Entity MAY include the following property:

A DataCube Data Entity SHOULD include the properties:

A DataCube Data Entity MAY include the properties:

Software Description

In what relates to the software description, the following will be included as a Data Entity. A RELIANCE RO-Crate MAY include one or more Software Data Entities, which MUST have the following properties:

A Software Data Entity SHOULD include the following properties (besides the Data Cube Entity properties):

A Software Data Entity MAY include the following properties:

Versioning Research Objects Description

A RELIANCE RO-Crate MAY include the following properties (from the RO-Evo ontology):

Other properties from the RO-Evo ontology MAY be also included, following that ontology.

ro-crate-metadata.json Example

This is a minimal example of a Reliance DataCube RO-Crate.

{
  "@context": "https://w3id.org/ro/crate/1.1/context",
  "@graph": [
    {
      "@id": "ro-crate-metadata.json",
      "@type": "CreativeWork",
      "about": {
        "@id": "./"
      },
      "conformsTo": [
        { "@id": "https://w3id.org/ro/crate/1.1"},
        { "@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.0"}
      ]
    },
    {
      "@id": "ro-crate-preview.html",
      "@type": "CreativeWork",
      "about": {
        "@id": "./"
      }
    },
    {
      "@id": "./",
      "@type": "Dataset",
      "name": "Example Workflow",
      "description": "An example workflow RO-Crate",
      "license": "Apache-2.0",
      "mainEntity": {
        "@id": "example_workflow.cwl"
      },
      "hasPart": [
        {
          "@id": "example_workflow.cwl"
        },
        {
          "@id": "diagram.svg"
        },
        {
          "@id": "README.md"
        }
      ]
    },
    {
      "@id": "example_workflow.cwl",
      "@type": [
        "File",
        "SoftwareSourceCode",
        "HowTo"
      ],
      "programmingLanguage": {
        "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl"
      },
      "name": "Example Workflow",
      "image": {
        "@id": "diagram.svg"
      }
    },
    {
      "@id": "diagram.svg",
      "name": "Example Workflow Diagram",
      "@type": [
        "File",
        "ImageObject"
      ]
    },
    {
      "@id": "README.md",
      "@type": "File",
      "about": "./",
      "encodingFormat": "text/markdown"
    },
    {
      "@id": "https://w3id.org/workflowhub/workflow-ro-crate#cwl",
      "@type": "ComputerLanguage",
      "name": "Common Workflow Language",
      "alternateName": "CWL",
      "identifier": "https://w3id.org/cwl/v1.2/",
      "url": "https://www.commonwl.org/"
    }
  ]
}