Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ResearchObject/ro-crate
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Apr 14, 2024
2 parents 85b04b5 + 2c33685 commit fdd96d6
Show file tree
Hide file tree
Showing 10 changed files with 3,209 additions and 1,139 deletions.
20 changes: 19 additions & 1 deletion docs/1.1/data-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,25 @@ These can be included for File Data Entities as additional metadata, regardless

### Directories on the web; dataset distributions

A _Directory File Entry_ or [Dataset] identifier expressed as an absolute URL on the web can be harder to download than a [File] because it consists of multiple resources. It is RECOMMENDED that such directories have a complete listing of their content in [hasPart], enabling download traversal.
A _Directory File Entry_ or [Dataset] identifier expressed as an absolute URL on the web can be harder to download than a [File] because it consists of multiple resources. It is RECOMMENDED that such directories have a complete listing of their content in [hasPart], enabling download traversal:

```json
{
"@id": "http://example.com/downloads/2020/",
"@type": "Dataset",
"name": "A directory with many small files",
"description": "This directory contains multiple small files.",
"hasPart": [
{
"@id": "http://example.com/downloads/2020/file1.csv"
},
{
"@id": "http://example.com/downloads/2020/file2.csv"
},
...
]
}
```

Alternatively, a common mechanism to provide downloads of a reasonably sized directory is as an archive file in formats such as `.zip` or `.tar.gz`, described as a [DataDownload].

Expand Down
5 changes: 4 additions & 1 deletion docs/1.2-DRAFT/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2892,6 +2892,8 @@
"ResourceDescriptor": "http://www.w3.org/ns/dx/prof/ResourceDescriptor",
"ResourceRole": "http://www.w3.org/ns/dx/prof/ResourceRole",
"Profile": "http://www.w3.org/ns/dx/prof/Profile",
"Geometry": "http://www.opengis.net/ont/geosparql#Geometry",
"asWKT": "http://www.opengis.net/ont/geosparql#asWKT",
"@label": "http://www.w3.org/2000/01/rdf-schema#label",
"pcdm": "http://pcdm.org/models#",
"bibo": "http://purl.org/ontology/bibo/",
Expand All @@ -2913,6 +2915,7 @@
"roterms": "http://purl.org/ro/roterms#",
"relation": "http://www.iana.org/assignments/relation/",
"wf4ever": "http://purl.org/ro/wf4ever#",
"vann": "http://purl.org/vocab/vann/"
"vann": "http://purl.org/vocab/vann/",
"geosparql": "http://www.opengis.net/ont/geosparql#"
}
}
5 changes: 5 additions & 0 deletions docs/1.2-DRAFT/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ These terms are being proposed by [Bioschemas profile ComputationalWorkflow 1.0-
* `input` mapped to <https://bioschemas.org/ComputationalWorkflow#input>
* `output` mapped to <https://bioschemas.org/ComputationalWorkflow#output>

To support geometry in [Places](contextual-entities.md#places), these terms from the [GeoSPARQL ontology]:

* `Geometry` mapped to <http://www.opengis.net/ont/geosparql#Geometry>
* `asWKT` mapped to <http://www.opengis.net/ont/geosparql#asWKT>

{: .note }
> In this specification the proposed Bioschemas terms use the temporary <https://bioschemas.org/> namespace; future releases of RO-Crate may reflect mapping to the <http://schema.org/> namespace.
Expand Down
58 changes: 58 additions & 0 deletions docs/1.2-DRAFT/ro-crate-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@
},
{
"@id": "http://schema.org/Property"
},
{
"@id": "http://www.opengis.net/ont/geosparql#Geometry"
},
{
"@id": "http://www.opengis.net/ont/geosparql#asWKT"
}
],
"identifier": {"@id": "https://doi.org/DOI"},
Expand Down Expand Up @@ -345,6 +351,9 @@
{
"@id": "#vocabulary-rdfs"
},
{
"@id": "#vocabulary-geosparql"
},
{
"@id": "#specification"
},
Expand Down Expand Up @@ -660,6 +669,44 @@
"name": "Vocabulary",
"sameAs": "https://www.w3.org/TR/2019/NOTE-dx-prof-20191218/#Role:vocabulary"
},
{
"@id": "http://www.opengis.net/ont/geosparql#Geometry",
"@type": "DefinedTerm",
"description": "A coherent set of direct positions in space. The positions are held within a Spatial Reference System (SRS).",
"name": "Geometry",
"termCode": "Geometry",
"sameAs": "https://opengeospatial.github.io/ogc-geosparql/geosparql11/#Geometry",
"inDefinedTermSet": {
"@id": "http://www.opengis.net/ont/geosparql#"
}
},
{
"@id": "http://www.opengis.net/ont/geosparql#asWKT",
"@type": "DefinedTerm",
"description": "The WKT (Well-Known Text) serialization (ISO13249) of a Geometry.",
"name": "Geometry",
"termCode": "asWKT",
"citation": { "@id": "https://portal.ogc.org/files/?artifact_id=25355" },
"sameAs": "https://opengeospatial.github.io/ogc-geosparql/geosparql11/#asWKT",
"inDefinedTermSet": {
"@id": "http://www.opengis.net/ont/geosparql#"
}
},
{
"@id": "https://portal.ogc.org/files/?artifact_id=25355",
"@type": "CreativeWork",
"name": "OpenGIS Implementation Specification for Geographic information – Simple feature access – Part 1: Common architecture",
"version": "1.2.1",
"url": "https://www.ogc.org/standard/sfa/"
},
{
"@id": "http://www.opengis.net/ont/geosparql#",
"@type": "DefinedTermSet",
"name": "GeoSPARQL ontology",
"version": "1.1",
"sameAs": "https://opengeospatial.github.io/ogc-geosparql/geosparql11/",
"url": "https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html"
},
{
"@id": "http://www.w3.org/ns/json-ld#Context",
"@type": "DefinedTerm",
Expand Down Expand Up @@ -1873,7 +1920,18 @@
"hasRole": {
"@id": "http://www.w3.org/ns/dx/prof/role/vocabulary"
}
},
{
"@id": "#vocabulary-geosparql",
"@type": "ResourceDescriptor",
"hasArtifact": {
"@id": "http://www.opengis.net/ont/geosparql#"
},
"hasRole": {
"@id": "http://www.w3.org/ns/dx/prof/role/vocabulary"
}
}


]
}
Loading

0 comments on commit fdd96d6

Please sign in to comment.