SPW-DIG / metawal-core-geonetwork

Metawal - Catalogue pour l'information géographique de Wallonie
http://metawal.wallonie.be
GNU General Public License v2.0
3 stars 1 forks source link

Encodage et mapping licences ISO - DCAT HVD #875

Open marceaulouis opened 2 months ago

marceaulouis commented 2 months ago

Selon le SEMIC, pour les données HVD on doit renseigner une URI machine readable pour les licences. Nous allons utiliser la licence CC-BY4 et on se dirige vers l'URI du registre des licences européen : https://publications.europa.eu/resource/authority/licence/CC_BY_4_0

Cependant, pas mal de fiches auront le double statut INSPIRE + HVD, on aura donc aussi les (non) contraintes d'accès No limitations to public access (http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations)

Et en plus de ça, on voudrait garder un URL human readable quelque part pour le Geoportail.

Est-ce qu'il sera possible de s'en sortir avec des blocs "ressource constraints" différents ? Peut-on filtrer le mapping ISO --> DCAT pour avoir qqch du genre

dct:rights : No limitations to public access dct:licence : https://publications.europa.eu/resource/authority/licence/CC_BY_4_0

sans prendre les autres entrées

fxprunayre commented 2 months ago

eg.

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
    <rdf:Description rdf:about="https://vocab.ifremer.fr/scheme/SXT/codelist_use_limitation">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#ConceptScheme"/>
        <dc:title xml:lang="en">Use limitation</dc:title>
        <dcterms:type xmlns:dcterms="http://purl.org/dc/terms/">theme</dcterms:type>
        <dcterms:identifier xmlns:dcterms="http://purl.org/dc/terms/">codelist_use_limitation</dcterms:identifier>
    </rdf:Description>
    <rdf:Description
            rdf:about="https://vocab.ifremer.fr/scheme/SXT/codelist_use_limitation/cbc79cd7-3252-46e8-9efe-36c7f2aa1b16">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">No conditions apply</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">Aucune condition ne s’applique</skos:prefLabel>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY (Creative Commons - Attribution)</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY (Creative Commons - Attribution)</skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by-nc/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY-NC (Creative Commons - Attribution, No commercial usage)</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY-NC (Creative Commons - Attribution, Pas d'utilisation commerciale)
        </skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by-nc-nd/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY-NC-ND (Creative Commons - Attribution, No commercial usage, No
            modification)
        </skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY-NC-ND (Creative Commons - Attribution, Pas d’utilisation commerciale, Pas de
            modification)
        </skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by-nc-sa/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY-NC-SA (Creative Commons - Attribution, Pas de modification)</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY-NC-SA (Creative Commons - Attribution, Pas de modification)</skos:prefLabel>
        <skos:scopeNote xml:lang="fr"/>
        <skos:scopeNote xml:lang="en"/>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by-sa/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY-NC-SA (Creative Commons - Attribution, No commercial usage, Sharing under
            the same conditions)
        </skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY-NC-SA (Creative Commons - Attribution, Pas d’utilisation commerciale,
            Partage dans les mêmes conditions)
        </skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description rdf:about="https://creativecommons.org/licenses/by-nd/4.0/">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC-BY-ND (Creative Commons - Attribution, No modification)</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC-BY-ND (Creative Commons - Attribution, Pas de modification)</skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description
            rdf:about="https://vocab.ifremer.fr/scheme/SXT/codelist_use_limitation/7e96946b-9c73-4ce0-b7ca-d2bd47797599">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">CC0 (Creative Commons - Transfer into public domain)</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">CC0 (Creative Commons - Transfert dans le Domaine Public)</skos:prefLabel>
        <skos:scopeNote xml:lang="en"/>
        <skos:scopeNote xml:lang="fr"/>
    </rdf:Description>
    <rdf:Description
            rdf:about="https://vocab.ifremer.fr/scheme/SXT/codelist_use_limitation/14509a62-947a-48c1-8fb8-e4f0137c8f33">
        <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
        <skos:prefLabel xml:lang="en">Unknown conditions</skos:prefLabel>
        <skos:prefLabel xml:lang="fr">Conditions inconnues</skos:prefLabel>
    </rdf:Description>
</rdf:RDF>
GeryNi commented 1 month ago

DCAT-AP: mapping licenses image

DCAT (Core): pas de mapping image

Stratégie de mapping de licences dans dcat-core (dcat-core-access-and-use.xsl) changement de stratégie pour le mapping via une variable true/false:

  <xsl:variable name="isMappingResourceConstraintsToEuVocabulary"
                as="xs:boolean"
                select="true()"/>