clnsmth / soso

For creating Science On Schema.Org (SOSO) markup in dataset landing pages to improve data discovery through search engines.
https://soso.readthedocs.io/
MIT License
1 stars 0 forks source link

fix: convert SPDX license URL to URI for EML #92

Closed clnsmth closed 6 months ago

clnsmth commented 6 months ago

Convert the schema:license URL to the associated linked data URI for machine understanding. Implement this as an algorithm that drops the '.html' suffix of a URL if it belongs to the SPDX vocabulary (https://spdx.org/licenses/), otherwise return the URL as is.

Note, the SPDX vocabulary is recommended by the EML schema documentation.