Skip to content

Commit 92b9093

Browse files
authored
Merge pull request #307 from OpenEnergyPlatform/feature-302-mapping-relation
Add key mappingRelation to isAbout and valueReference
2 parents 6f4bf00 + b89bbc7 commit 92b9093

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
### Added
2020
- Start new version 2.1. [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/)
2121
- Add badges for Zenodo publication, FAIRsharing DOI and RDA MSC [(#273)](https://github.com/OpenEnergyPlatform/oemetadata/pull/273)
22+
- Add `mappingRelation` to `isAbout` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
23+
- Add `mappingRelation` to `valueReference` [(#307)](https://github.com/OpenEnergyPlatform/oemetadata/pull/307)
2224

2325
### Changed
2426
- Update TLDR URL in example sourceLicenses [(#275)](https://github.com/OpenEnergyPlatform/oemetadata/pull/275)

oemetadata/v2/v21/build_source/schemas/fields.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,18 @@
151151
"badge": "Platinum",
152152
"title": "Is About Identifier",
153153
"format": "uri"
154+
},
155+
"mappingRelation": {
156+
"description": "Using SKOS mapping properties to state mapping (alignment).",
157+
"type": [
158+
"string",
159+
"null"
160+
],
161+
"examples": [
162+
"skos:closeMatch"
163+
],
164+
"badge": "Platinum",
165+
"title": "Is About SKOS Mapping Relation"
154166
}
155167
},
156168
"badge": "Platinum",
@@ -201,6 +213,18 @@
201213
"badge": "Platinum",
202214
"title": "Value Reference Identifier",
203215
"format": "uri"
216+
},
217+
"mappingRelation": {
218+
"description": "Using SKOS mapping properties to state mapping (alignment).",
219+
"type": [
220+
"string",
221+
"null"
222+
],
223+
"examples": [
224+
"skos:exactMatch"
225+
],
226+
"badge": "Platinum",
227+
"title": "Value Reference SKOS Mapping Relation"
204228
}
205229
},
206230
"badge": "Platinum",

oemetadata/v2/v21/metadata_key_description.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,12 @@ If a value is not yet available, use: `ToDo`.
255255
| 1.1.6 | **isAbout** | An array of objects that describes the field in ontology terms. | | [sc:about](https://schema.org/about) | | [*] |
256256
| 1.1.6.1 | name | The class label of the ontology term. | wind energy converting unit | [rdfs:label](https://www.w3.org/2000/01/rdf-schema#/label) | Platinum | [0..1] |
257257
| 1.1.6.2 | @id | The path of the ontology term (IRI). | [OEO_00000044](https://openenergyplatform.org/ontology/oeo/OEO_00000044) | [dct:identifier](http://purl.org/dc/terms/identifier) | Platinum | [0..1] |
258+
| 1.1.6.3 | mappingRelation | Using [SKOS](https://www.w3.org/TR/skos-reference/#mapping) mapping properties to state mapping (alignment). | skos:closeMatch | [skos:mappingRelation](https://www.w3.org/TR/skos-reference/#mapping) | Platinum | [0..1] |
258259
| 1.1.7 | **valueReference** | An array of objects for an extended description of the values in the column in ontology terms. | | [prov:value](https://www.w3.org/ns/prov#value) | | [*] |
259260
| 1.1.7.1 | value | The name of the value in the column. | onshore | [rdf:value](https://www.w3.org/1999/02/22-rdf-syntax-ns#value) | Platinum | [0..1] |
260261
| 1.1.7.2 | name | The class label of the ontology term in the column. | onshore wind farm | [rdfs:label](https://www.w3.org/2000/01/rdf-schema#/label) | Platinum | [0..1] |
261262
| 1.1.7.3 | @id | The path of the ontology term (IRI) in the column. | [OEO_00000311](https://openenergyplatform.org/ontology/oeo/OEO_00000311) | [dct:identifier](http://purl.org/dc/terms/identifier) | Platinum | [0..1] |
263+
| 1.1.7.4 | mappingRelation | Using [SKOS](https://www.w3.org/TR/skos-reference/#mapping) mapping properties to state mapping (alignment). | skos:exactMatch | [skos:mappingRelation](https://www.w3.org/TR/skos-reference/#mapping) | Platinum | [0..1] |
262264

263265
#### Resources - Properties Keys
264266
| <div style="width:1em">#</div> | <div style="width:6em">Key</div> | <div style="width:20em">Description</div> | <div style="width:20em">Example</div> | <div style="width:20em">Ontology Class</div> | <div style="width:4em">Badge</div> | <div style="width:3em">Card.</div> |

0 commit comments

Comments
 (0)