Zenodo harvester: should handle zenodo upload_type and publication_type correctly
Currently all metadata resources that are harvested from Zenodo are created as type schema:Article
in the Knowledge Hub. However, Zenodo uploads have a broader concept of types, so during harvesting we should make use of different classes depending on Zenodo's upload_type
attribute: https://developers.zenodo.org/#representation
I would suggest the mapping:
upload_type | KH class |
---|---|
publication | Article |
software | SoftwareSourceCode |
dataset | Dataset |
lesson | LearningSource? |
This list is not yet complete, for the following types I'm not sure how to proceed:
- presentation
- poster
- (other subclasses CreativeWork)
- image (ImageObject ?)
- video (VideoObject ?)
physicalobject? other?
Additionally make use of Zenodos publication_type
as string in additionalType