Closed andrea-perego closed 3 years ago
The proposed revision has been implemented in PR https://github.com/SEMICeu/iso-19139-to-dcat-ap/pull/26
The adopted approach is as follows:
As no objections were raised, I will merge PR https://github.com/SEMICeu/iso-19139-to-dcat-ap/pull/26 and close this issue.
Currently, the XSLT output includes URIs for formats only if they are present in the source record.
The reason is twofold:
On the other hand, there are also reasons for supporting a text-to-URI mapping:
Looking at the geospatial records available from the European Data Portal, using URIs for file formats is far from being a common practice.
So, the proposal is to revise the XSLT to include a provisional mapping from textual labels to URIs, which can be phased out in the future. For the textual labels to be mapped to URIs, those most frequently used for geospatial metadata in the European Data Portal can be taken into account. The full list can be obtained via the the following SPARQL queries:
dct:format/rdfs:label
dct:format
Of course, this solution will not ensure that all distributions will have a format specified via a URI. But this is not the purpose of this revision / patch.