From 0fa0dd36c1ac4ca10ef77924844746a336781717 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Mon, 30 Sep 2024 19:30:13 +0200 Subject: [PATCH] Formatter / DCAT / Applicable legislations https://semiceu.github.io/DCAT-AP/r5r/releases/3.0.0/#applicableLegislation Add the element to DCAT-AP base. Element is 0..n in DCAT-AP and should be present in extensions (mobility, hvd, geodcat). HVD requires at least http://data.europa.eu/eli/reg_impl/2023/138/oj and cardinality is 1..n. Do not restrict to a particular legislation list. A sample vocabulary is provided but it can be extended depending on catalogue domains. --- .../formatter/dcat/dcat-core-keywords.xsl | 2 +- .../eu-dcat-ap-hvd/eu-dcat-ap-hvd-core.xsl | 60 +++---------------- ...tion.rdf => eu-applicable-legislation.rdf} | 10 ++-- .../eu-dcat-ap/eu-dcat-ap-core-dataset.xsl | 30 ++++++++++ .../formatter/eu-dcat-ap/eu-dcat-ap-core.xsl | 4 -- ...core-multipleAccrualPeriodicityAllowed.rdf | 6 +- ...so19115-3.2018-eu-dcat-ap-dataset-core.rdf | 6 +- ....2018-eu-dcat-ap-mobility-dataset-core.rdf | 6 +- ...9115-3.2018-eu-geodcat-ap-dataset-core.rdf | 6 +- 9 files changed, 48 insertions(+), 82 deletions(-) rename schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap-hvd/vocabularies/{high-value-dataset-applicable-legislation.rdf => eu-applicable-legislation.rdf} (99%) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-keywords.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-keywords.xsl index 32d9ecd58d5..25f14d568ec 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-keywords.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-keywords.xsl @@ -5,9 +5,9 @@ xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" + xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="#all"> - - + applicable legislation Legal Resource 1..* The legislation that mandates the creation or management of the Data Service. + **For HVD the value MUST include the ELI http://data.europa.eu/eli/reg_impl/2023/138/oj.** + As multiple legislations may apply to the resource the maximum cardinality is not limited. - - - - - - - - - + See DCAT-AP + applicable legislation Legal Resource 0..* The legislation that mandates the creation or management of the Catalog. - - - - - - - - + To create valid HVD document, a keyword anchor or a title href of mri:resourceConstraints/mco:MD_LegalConstraints/mco:reference + in the ISO record MUST define the ELI http://data.europa.eu/eli/reg_impl/2023/138/oj. + --> - High-value dataset applicable legislations - High-value dataset applicable legislations - Législation sectorielle qui prescrit la création ou la gestion de la distribution - de données HVD + EU applicable legislations + Législations applicables dans l'UE + Législation sectorielle qui prescrit la création ou la gestion de la ressource. + Liste non exhaustive. @@ -569,4 +569,4 @@ relative à la qualité des eaux destinées à la consommation humaine (refonte) - \ No newline at end of file + diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core-dataset.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core-dataset.xsl index 6ddeeba3f34..449987dec3f 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core-dataset.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/eu-dcat-ap/eu-dcat-ap-core-dataset.xsl @@ -9,12 +9,14 @@ xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" + xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0" xmlns:mmi="http://standards.iso.org/iso/19115/-3/mmi/1.0" xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:adms="http://www.w3.org/ns/adms#" + xmlns:dcatap="http://data.europa.eu/r5r/" xmlns:dct="http://purl.org/dc/terms/" exclude-result-prefixes="#all"> @@ -209,6 +211,34 @@ + + + + + + + + + + + + + + + +