Skip to content

Commit

Permalink
Merge pull request galaxyproject#4166 from ResearchObject/ro-crate
Browse files Browse the repository at this point in the history
Add FAIR data and RO-Crate module
  • Loading branch information
hexylena authored May 23, 2023
2 parents 7e714dc + 89a97b5 commit dcc55d1
Show file tree
Hide file tree
Showing 19 changed files with 36,961 additions and 5 deletions.
14 changes: 13 additions & 1 deletion CONTRIBUTORS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,11 @@ pravs3683:
email: [email protected]
joined: 2019-04

ptsefton:
name: Peter Sefton
orcid: 0000-0002-3545-944X
joined: 2023-04

pvanheus:
name: Peter van Heusden
twitter: pvanheus
Expand Down Expand Up @@ -1414,9 +1419,16 @@ sophia120199:

stain:
name: Stian Soiland-Reyes
joined: 2023-04
email: [email protected]
twitter: soilandreyes
orcid: 0000-0001-9842-9718
joined: 2023-04
elixir_node: uk
location:
country: UK
lat: 53.46724379071192
lon: -2.233631283105614
fediverse: https://scholar.social/@soilandreyes

stephanierobin:
name: Stéphanie Robin
Expand Down
8 changes: 4 additions & 4 deletions _includes/default-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</p>
{% endif %}
<p>
{% if page.layout == "tutorial_hands_on" %}
This material licensed under
{% else %}
Materials licensed under
<i>This Material</i>:
{% if page.copyright %}
is {{ page.copyright }}.
{% endif %}
It is licensed under
<a rel="license" href="https://spdx.org/licenses/{% if page.license %}{{ page.license }}{% else %}CC-BY-4.0{% endif %}">
{% if page.license %}{{ page.license }}{% else %}Creative Commons Attribution 4.0 International License{% endif %}
</a>
Expand Down
3 changes: 3 additions & 0 deletions _layouts/tutorial_hands_on.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ <h4 class="alert-heading">Under Development!</h4>

<div><strong>{% icon last_modification aria=false %} {{ locale['last-modification'] | default: "Last modification" }}:</strong> {{ page | last_modified_at | date: "%b %-d, %Y"}} </div>
<div><strong>{% icon license aria=false %} {{ locale['license'] | default: "License" }}:</strong>
{% if page.copyright %}
{{ page.copyright }}.
{% endif %}
{% if page.license %}
Tutorial Content is licensed under <a rel="license" href="https://spdx.org/licenses/{{ page.license }}">{{ page.license }}</a>.
{% else %}
Expand Down
7 changes: 7 additions & 0 deletions bin/schema-tutorial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,19 @@ mapping:
type: str
description: |
URL of the external resource
copyright:
type: str
description: |
A copyright attribution string, as required by some licenses.
examples:
- © Copyright 2021-2023 University of Technology Sydney, The University of Manchester UK and RO-Crate contributors
license:
type: str
description: |
An [SPDX](https://spdx.org/) identifier for the alternative license that is used for that particular material. This is **only** relevant for materials which have been imported from an external source and were originally licensed under another license. For new materials we strongly encourage contributors to not use this key as materials are CC-BY, by default.
examples:
- MIT
- Apache-2.0
draft:
type: bool
description: |
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
264 changes: 264 additions & 0 deletions topics/fair/images/ro-crate-intro/crate1-folders.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,498 changes: 1,498 additions & 0 deletions topics/fair/images/ro-crate-intro/introduction-figure-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions topics/fair/tutorials/ro-crate-intro/rainfall-1.2.1/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
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"@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": "./"
}
},
{
"@id": "./",
"@type": [
"Dataset",
"LearningResource"
],
"hasPart": [
{
"@id": "data.csv"
}
],
"name": "Example dataset for RO-Crate specification",
"description": "Official rainfall readings for Katoomba, NSW 2022, Australia",
"datePublished": "2023-05-22T12:03:00+0100",
"license": {
"@id": "http://spdx.org/licenses/CC0-1.0"
},
"author": {
"@id": "https://orcid.org/0000-0002-1825-0097"
},
"publisher": {
"@id": "https://ror.org/05gq02987"
}
},
{
"@id": "data.csv",
"@type": "File",
"name": "Rainfall Katoomba 2022-02",
"description": "Rainfall data for Katoomba, NSW Australia February 2022",
"encodingFormat": "text/csv",
"license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/"
}
},
{
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"@type": "CreativeWork",
"name": "CC BY-NC-SA 4.0 International",
"description": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"
},
{
"@id": "http://spdx.org/licenses/CC0-1.0",
"@type": "CreativeWork",
"name": "CC0-1.0",
"description": "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"
}
},
{
"@id": "https://ror.org/05gq02987",
"@type": "Organization",
"name": "Brown University",
"url": "http://www.brown.edu/"
}
]
}
Loading

0 comments on commit dcc55d1

Please sign in to comment.