Skip to content

Commit

Permalink
Example RO-Crate
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Dec 12, 2022
1 parent c81aba5 commit c52efa3
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Date","Minimum temperature (°C)","Maximum temperature (°C)","Rainfall (mm)"
2022-02-01,16.0,28.4,0.6
2022-02-02,16.3,17.2,12.4
Empty file added folder1/.keep
Empty file.
169 changes: 169 additions & 0 deletions ro-crate-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"@context": "https://w3id.org/ro/crate/1.1/context",
"@graph": [
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
},
"about": {
"@id": "./"
},
"license": {
"@id": "http://spdx.org/licenses/CC0-1.0"
},
"description": "This is a template RO-Crate Metadata file. Each entry in @graph is called an entity. This is the Metadata File Descriptor that flags this JSON-LD file as following RO-Crate 1.1 convention, and points to the main Root Data Entity ./ below. You can add any entities to the @graph in a flat list, and refer to them using @id from the other entities. In this template, each entity has an explaining 'description' line that you should remove/replace. See https://www.researchobject.org/ro-crate/1.1/root-data-entity.html"
},
{
"@id": "./",
"@type": "Dataset",
"name": "Example dataset for RO-Crate specification",
"description": "This is a template RO-Crate, replace entities below with your real content and metadata, remember to make the @id consistent with references from other entities. Conceptually a crate 'contains' Data Entities listed under 'hasPart' (even if they are not in this folder structure). Each data entity can be further described using contextual entities, like a Person. The crate can also 'mention' contextual entities not referenced elsewhere. Delete any entities you no longer reference. See https://www.researchobject.org/ro-crate/1.1/",
"datePublished": "2022-12-12T16:20:00Z",
"keywords": "example,ro-crate",
"author": [
{
"@id": "https://orcid.org/0000-0002-1825-0097"
}
],
"publisher": {
"@id": "https://ror.org/04dkp1p98"
},
"funder": {
"@id": "https://research-and-innovation.ec.europa.eu/"
},
"license": {
"@id": "http://spdx.org/licenses/CC-BY-4.0"
},
"hasPart": [
{
"@id": "data.csv"
},
{
"@id": "folder1/"
},
{
"@id": "https://example.com/"
}
],
"mentions": [
{
"@id": "#DataCapture_temperature"
}
]
},
{
"@id": "data.csv",
"@type": "File",
"name": "Example data",
"description": "Replace this entity to describe each file that makes part of this crate, optionally connecting any contextual entities that help explain it. See https://www.researchobject.org/ro-crate/1.1/data-entities.html",
"encodingFormat": "text/csv",
"contentSize": "129",
"contentLocation": {
"@id": "https://sws.geonames.org/6295630/"
},
"license": {
"@id": "http://spdx.org/licenses/CC0-1.0"
}
},
{
"@id": "folder1/",
"@type": "Dataset",
"name": "Folder 1",
"about": {
"@id": "http://dbpedia.org/resource/Data"
},
"temporalCoverage": "1950/1975",
"description": "Example folder that is part of the crate, and is about Data from 1950 to 1975. Delete properties as required. You may also list its contained files using hasPart, but it is not required. See https://www.researchobject.org/ro-crate/1.1/data-entities.html#example-linking-to-a-file-and-folders"
},
{
"@id": "https://ror.org/027m9bs27",
"@type": "Organization",
"name": "The University of Manchester",
"description": "Example organization for publisher, replace with the real publisher. If the org doesn't have an ROR identifier, you may use their regular URL as @id. See https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#organizations-as-values",
"url": "https://www.manchester.ac.uk/"
},
{
"@id": "https://ror.org/05gq02987",
"@type": "Organization",
"name": "Brown University",
"description": "Example organization for affiliation, replace with the person's real affiliation. If the org doesn't have an ROR identifier, you may use their regular URL as @id. See https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#organizations-as-values",
"url": "http://www.brown.edu/"
},
{
"@id": "https://research-and-innovation.ec.europa.eu/",
"name": "European Commission",
"description": "Example funder, replace with the organization that funded this crate publication"
},
{
"@id": "http://spdx.org/licenses/CC-BY-4.0",
"@type": "CreativeWork",
"description": "This is the suggested license for new RO-Crates that don't contain software. To apply, simply delete this description line. Attribution should be included by your use of 'author' and 'publisher' in the rest of this file. See https://spdx.org/licenses/ for other open licenses, or link to your copyright statement for closed licenses. Note that individual files may override the license by having their own 'license' attribute, see https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#licensing-access-control-and-copyright",
"identifier": "CC-BY-4.0",
"name": "Creative Commons Attribution 4.0 International",
"url": "https://creativecommons.org/licenses/by/4.0/"
},
{
"@id": "http://spdx.org/licenses/CC0-1.0",
"@type": "CreativeWork",
"description": "This is a suggested license for the RO-Crate metadata file (this JSON). It is not required to specify this except where it's beneficial to keep metadata more open for indexing. Note that CC0 is a public domain license that do not require any attribution. See https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#metadata-license",
"identifier": "CC0-1.0",
"name": "Creative Commons Zero v1.0 Universal",
"url": "https://creativecommons.org/publicdomain/zero/1.0/"
},
{
"@id": "https://orcid.org/0000-0002-1825-0097",
"@type": "Person",
"name": "Josiah Carberry",
"affiliation": {
"@id": "https://ror.org/05gq02987"
},
"description": "Fictitious person, replace with real person entities. Note that each data entity can have their own author if different from the crate's authors. Use ORCID identifier if available, otherwise try #alice See https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#people"
},
{
"@id": "https://example.com/",
"@type": "WebPage",
"name": "Example page",
"description": "An example web page which is included in this crate, and may have its own author etc. Replace with more specific URIs, see https://www.researchobject.org/ro-crate/1.1/data-entities.html"
},
{
"@id": "http://dbpedia.org/resource/Data",
"@type": "Thing",
"name": "Data",
"description": "Example subject area, replace with something more specific, see https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#subjects--keywords"
},
{
"@id": "https://sws.geonames.org/6295630/",
"@type": "Place",
"name": "Earth",
"description": "Where we all exists. Replace with more specific location, see https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#places"
},
{
"@id": "#Thermometer1",
"@type": "IndividualProduct",
"description": "An example instrument, typically operated by a human, that was used to create a data entity.",
"name": "A tiny thermometer"
},
{
"@id": "#DataCapture_temperature",
"@type": "CreateAction",
"name": "Captured by thermometer",
"description": "Example provenance of how some equipment was used by a person to create data entity. https://www.researchobject.org/ro-crate/1.1/provenance.html#equipment-used-to-create-files",
"agent": {
"@id": "https://orcid.org/0000-0002-1825-0097"
},
"instrument": {
"@id": "#Thermometer1"
},
"object": {
"@id": "https://sws.geonames.org/6295630/"
},
"result": [
{
"@id": "data.csv"
}
]
}
]
}

0 comments on commit c52efa3

Please sign in to comment.