Data Fragment Selectors for data outputs of processes can be represented in the RO-Crate by adding the data format and data selector format information to the json object representing the output.
The output is a schema.org/MediaObject, with its @id being the URL of a file or a directory containing the data selector. Information on how to interpret the data selector (given in the DataSelectorFormat column as a URL) is added through the usageInfo property. Information on the data format (given in the DataFormat column as a URL) is added through the encodingFormat property.
Example
For example, consider the following process table:
Data Fragment Selectors for data outputs of processes can be represented in the RO-Crate by adding the data format and data selector format information to the json object representing the output.
The output is a schema.org/MediaObject, with its
@id
being the URL of a file or a directory containing the data selector. Information on how to interpret the data selector (given in theDataSelectorFormat
column as a URL) is added through theusageInfo
property. Information on the data format (given in theDataFormat
column as a URL) is added through theencodingFormat
property.Example
For example, consider the following process table:
The corresponding jsonld objects should look like this: