-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de28bed
commit 9287100
Showing
25 changed files
with
1,435 additions
and
1,048 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@prefix sh: <http://www.w3.org/ns/shacl#>. | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>. | ||
@prefix dct: <http://purl.org/dc/terms/>. | ||
@prefix dc: <http://purl.org/dc/elements/1.1/>. | ||
|
||
# Shape for any resource with title, description, and at least one distribution | ||
<#ResourceShape> a sh:NodeShape ; | ||
sh:property [ | ||
sh:path dc:distribution ; | ||
sh:nodeKind sh:IRI ; | ||
sh:minCount 1 ; | ||
sh:message "The resource must have at least one distribution (dc:distribution) as an IRI." | ||
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
{ | ||
"@context": { | ||
"schema": "https://schema.org/", | ||
"bfo": "http://purl.obolibrary.org/obo/bfo.owl#", | ||
"csvw": "http://www.w3.org/ns/csvw#", | ||
"dbo": "http://dbpedia.org/ontology/", | ||
"dc": "http://purl.org/dc/elements/1.1/", | ||
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", | ||
"gn": "http://www.geonames.org/ontology#", | ||
"dct": "http://purl.org/dc/terms/", | ||
"obda": "https://w3id.org/obda/vocabulary#", | ||
"oeo": "http://openenergyplatform.org/ontology/oeo/", | ||
"owl": "http://www.w3.org/2002/07/owl#", | ||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | ||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | ||
"saref": "https://saref.etsi.org/core/", | ||
"time": "http://www.w3.org/2006/time#", | ||
"xml": "http://www.w3.org/XML/1998/namespace", | ||
"xsd": "http://www.w3.org/2001/XMLSchema#", | ||
"title": "dct:title", | ||
"description": "dct:description", | ||
"distributions": "dc:distribution", | ||
"subject": { | ||
"@id": "dc:subject", | ||
"@type": "@id" | ||
}, | ||
"lat": "geo:lat", | ||
"long": "geo:long", | ||
"resolutionInMeters": { | ||
"@id" : "dcat:spatialResolutionInMeters", | ||
"@type": "xsd:decimal" | ||
}, | ||
"extent": "dct:spatial", | ||
"timeseries": "dct:temporal", | ||
"start": "dcat:startDate", | ||
"end": "dcat:endDate", | ||
"resolution": { | ||
"@id": "dcat:temporalResolution", | ||
"@type": "xsd:duration" | ||
}, | ||
"isAbout": "saref:isAbout", | ||
"valueReference": "csvw:columnReference", | ||
"fields": "csvw:column", | ||
"keywords": "schema:keywords" | ||
}, | ||
"@id": "%DATABUS_RESOURCE%", | ||
"title": "MANDATORY ON DATABUS BUT DOESN'T HURT", | ||
"description": "MANDATORY ON DATABUS BUT DOESN'T HURT", | ||
"distributions": [ | ||
{ | ||
"@id": "%DATABUS_RESOURCE%#table.csv", | ||
"name": "UNCLEAR", | ||
"title": "NOT ON DATABUS, what is NAME?", | ||
"description": "NOT ON DATABUS", | ||
"profile": "tabular-data-resource", | ||
"encoding": "UTF-8 - GOOD", | ||
"format": "csv - MANDATORY ON DATABUS as formatExtension", | ||
"type": "csv - UNCLEAR - format?", | ||
"subject": [ { "@id" : "http://openenergy-platform.org/ontology/oeo/OEO_00000150" } ], | ||
"language": [ | ||
"en-GB", | ||
"de-DE", | ||
"fr-FR", | ||
"GOOD" | ||
], | ||
"keywords": [ "GOOD" ], | ||
"publicationDate": "2019-02-06 MANDATORY ON DATABUS as issued", | ||
"context - TOO VAGUE": { | ||
"homepage": "https://openenergy-platform.org/", | ||
"documentation": "https://openenergy-platform.org/about/", | ||
"sourceCode": "https://github.com/OpenEnergyPlatform", | ||
"contact": "[email protected]", | ||
"grantNo": "01AB2345", | ||
"fundingAgency": "Bundesministerium für Wirtschaft und Klimaschutz", | ||
"fundingAgencyLogo": "https://commons.wikimedia.org/wiki/File:BMWi_Logo_2021.svg#/media/File:BMWi_Logo_2021.svg", | ||
"publisherLogo": "https://reiner-lemoine-institut.de//wp-content/uploads/2015/09/rlilogo.png" | ||
}, | ||
"spatial - DROP NESTING": { | ||
"lat": "52.433509", | ||
"long": "13.535855", | ||
"extent": { | ||
"gn:name": "Europe", | ||
"@id": "http://sws.geonames.org/6252001/" | ||
}, | ||
"resolutionInMeters": "3" | ||
}, | ||
"temporal - DROP NESTING": { | ||
"referenceDate": "2016-01-01", | ||
"timeseries": [ | ||
{ | ||
"start": "2019-02-06T10:12:04+00:00", | ||
"end": "2019-02-07T10:12:04+00:00", | ||
"resolution": "PT30S", | ||
"alignment": "left", | ||
"aggregationType": "sum" | ||
} | ||
] | ||
}, | ||
"sources": [ | ||
{ | ||
"title": "IPCC Fifth Assessment Report", | ||
"description": "Scientific climate change report by the UN", | ||
"@id": "https://www.ipcc.ch/site/assets/uploads/2018/02/ipcc_wg3_ar5_full.pdf", | ||
"licenses": [ | ||
{ | ||
"name": "ODbL-1.0", | ||
"title": "Open Data Commons Open Database License 1.0", | ||
"@id": "https://opendatacommons.org/licenses/odbl/1-0/index.html", | ||
"instruction": "You are free to share and change, but you must attribute, and share derivations under the same license. See https://tldrlegal.com/license/odc-open-database-license-(odbl) for further information.", | ||
"attribution": "© Intergovernmental Panel on Climate Change 2014" | ||
} | ||
] | ||
} | ||
], | ||
"licenses - MANDATORY ON DATABUS, but VERSION-WIDE": [ | ||
{ | ||
"name": "ODbL-1.0", | ||
"title": "Open Data Commons Open Database License 1.0", | ||
"@id": "https://opendatacommons.org/licenses/odbl/1-0/index.html", | ||
"instruction": "You are free to share and change, but you must attribute, and share derivations under the same license. See https://tldrlegal.com/license/odc-open-database-license-(odbl) for further information.", | ||
"attribution": "© Reiner Lemoine Institut" | ||
} | ||
], | ||
"contributors - more edit history? can this be expressed differently?": [ | ||
{ | ||
"title": "John Doe", | ||
"email": "[email protected]", | ||
"date": "2016-06-16", | ||
"object": "data and metadata", | ||
"comment": "Fix typo in the title." | ||
} | ||
], | ||
"schema": { | ||
"fields": [ | ||
{ | ||
"name": "year", | ||
"description": "Reference year for which the data were collected.", | ||
"type": "geometry(Point, 4326)", | ||
"isAbout": [ | ||
{ | ||
"name": "wind energy converting unit", | ||
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00000044" | ||
} | ||
], | ||
"valueReference": [ | ||
{ | ||
"value": "onshore", | ||
"name": "onshore wind farm", | ||
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00000311" | ||
} | ||
], | ||
"unit": "MW" | ||
} | ||
], | ||
"primaryKey": ["id"], | ||
"foreignKeys": [ | ||
{ | ||
"fields": ["version"], | ||
"reference": { | ||
"resource": "schema.table", | ||
"fields": ["version"] | ||
} | ||
} | ||
] | ||
}, | ||
"dialect": { | ||
"delimiter": ",", | ||
"decimalSeparator": "." | ||
}, | ||
"review": { | ||
"@id": "https://www.example.com", | ||
"badge": "Platinum" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
{ | ||
"@context": { | ||
"schema": "https://schema.org/", | ||
"bfo": "http://purl.obolibrary.org/obo/bfo.owl#", | ||
"csvw": "http://www.w3.org/ns/csvw#", | ||
"dbo": "http://dbpedia.org/ontology/", | ||
"dc": "http://purl.org/dc/elements/1.1/", | ||
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", | ||
"gn": "http://www.geonames.org/ontology#", | ||
"dct": "http://purl.org/dc/terms/", | ||
"obda": "https://w3id.org/obda/vocabulary#", | ||
"oeo": "http://openenergyplatform.org/ontology/oeo/", | ||
"owl": "http://www.w3.org/2002/07/owl#", | ||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | ||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | ||
"saref": "https://saref.etsi.org/core/", | ||
"time": "http://www.w3.org/2006/time#", | ||
"xml": "http://www.w3.org/XML/1998/namespace", | ||
"xsd": "http://www.w3.org/2001/XMLSchema#", | ||
"title": "dct:title", | ||
"description": "dct:description", | ||
"distributions": "dc:distribution", | ||
"subject": { | ||
"@id": "dc:subject", | ||
"@type": "@id" | ||
}, | ||
"lat": "geo:lat", | ||
"long": "geo:long", | ||
"resolutionInMeters": { | ||
"@id": "dcat:spatialResolutionInMeters", | ||
"@type": "xsd:decimal" | ||
}, | ||
"extent": "dct:spatial", | ||
"timeseries": "dct:temporal", | ||
"start": "dcat:startDate", | ||
"end": "dcat:endDate", | ||
"resolution": { | ||
"@id": "dcat:temporalResolution", | ||
"@type": "xsd:duration" | ||
}, | ||
"isAbout": "saref:isAbout", | ||
"valueReference": "csvw:columnReference", | ||
"fields": "csvw:column", | ||
"keywords": "schema:keywords" | ||
}, | ||
"@id": "%DATABUS_RESOURCE%", | ||
"title": "OEMetadata - Metadata example table", | ||
"description": "Example table used to illustrate the metadata structure and meaning.", | ||
"distributions": [ | ||
{ | ||
"@id": "%DATABUS_RESOURCE%#table.csv", | ||
"name": "oep_metadata_table_example_v200", | ||
"title": "RLI - OEMetadata - Metadata example table", | ||
"description": "Example table used to illustrate the metadata structure and meaning.", | ||
"profile": "tabular-data-resource", | ||
"encoding": "UTF-8", | ||
"format": "csv", | ||
"type": "csv", | ||
"subject": [ | ||
{ | ||
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00000150" | ||
} | ||
], | ||
"language": [ | ||
"en-GB", | ||
"de-DE", | ||
"fr-FR" | ||
], | ||
"keywords": [], | ||
"publicationDate": "2019-02-06", | ||
"context": { | ||
"homepage": "https://openenergy-platform.org/", | ||
"documentation": "https://openenergy-platform.org/about/", | ||
"sourceCode": "https://github.com/OpenEnergyPlatform", | ||
"contact": "[email protected]", | ||
"grantNo": "01AB2345", | ||
"fundingAgency": "Bundesministerium für Wirtschaft und Klimaschutz", | ||
"fundingAgencyLogo": "https://commons.wikimedia.org/wiki/File:BMWi_Logo_2021.svg#/media/File:BMWi_Logo_2021.svg", | ||
"publisherLogo": "https://reiner-lemoine-institut.de//wp-content/uploads/2015/09/rlilogo.png" | ||
}, | ||
"spatial": { | ||
"lat": "52.433509", | ||
"long": "13.535855", | ||
"extent": { | ||
"gn:name": "Europe", | ||
"@id": "http://sws.geonames.org/6252001/" | ||
}, | ||
"resolutionInMeters": "3" | ||
}, | ||
"temporal": { | ||
"referenceDate": "2016-01-01", | ||
"timeseries": [ | ||
{ | ||
"start": "2019-02-06T10:12:04+00:00", | ||
"end": "2019-02-07T10:12:04+00:00", | ||
"resolution": "PT30S", | ||
"alignment": "left", | ||
"aggregationType": "sum" | ||
} | ||
] | ||
}, | ||
"sources": [ | ||
{ | ||
"title": "IPCC Fifth Assessment Report", | ||
"description": "Scientific climate change report by the UN", | ||
"@id": "https://www.ipcc.ch/site/assets/uploads/2018/02/ipcc_wg3_ar5_full.pdf", | ||
"licenses": [ | ||
{ | ||
"name": "ODbL-1.0", | ||
"title": "Open Data Commons Open Database License 1.0", | ||
"@id": "https://opendatacommons.org/licenses/odbl/1-0/index.html", | ||
"instruction": "You are free to share and change, but you must attribute, and share derivations under the same license. See https://tldrlegal.com/license/odc-open-database-license-(odbl) for further information.", | ||
"attribution": "© Intergovernmental Panel on Climate Change 2014" | ||
} | ||
] | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"name": "ODbL-1.0", | ||
"title": "Open Data Commons Open Database License 1.0", | ||
"@id": "https://opendatacommons.org/licenses/odbl/1-0/index.html", | ||
"instruction": "You are free to share and change, but you must attribute, and share derivations under the same license. See https://tldrlegal.com/license/odc-open-database-license-(odbl) for further information.", | ||
"attribution": "© Reiner Lemoine Institut" | ||
} | ||
], | ||
"contributors": [ | ||
{ | ||
"title": "John Doe", | ||
"email": "[email protected]", | ||
"date": "2016-06-16", | ||
"object": "data and metadata", | ||
"comment": "Fix typo in the title." | ||
} | ||
], | ||
"schema": { | ||
"fields": [ | ||
{ | ||
"name": "year", | ||
"description": "Reference year for which the data were collected.", | ||
"type": "geometry(Point, 4326)", | ||
"isAbout": [ | ||
{ | ||
"name": "wind energy converting unit", | ||
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00000044" | ||
} | ||
], | ||
"valueReference": [ | ||
{ | ||
"value": "onshore", | ||
"name": "onshore wind farm", | ||
"@id": "http://openenergy-platform.org/ontology/oeo/OEO_00000311" | ||
} | ||
], | ||
"unit": "MW" | ||
} | ||
], | ||
"primaryKey": [ | ||
"id" | ||
], | ||
"foreignKeys": [ | ||
{ | ||
"fields": [ | ||
"version" | ||
], | ||
"reference": { | ||
"resource": "schema.table", | ||
"fields": [ | ||
"version" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"dialect": { | ||
"delimiter": ",", | ||
"decimalSeparator": "." | ||
}, | ||
"review": { | ||
"@id": "https://www.example.com", | ||
"badge": "Platinum" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.