-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encodage et mapping licences ISO - DCAT HVD #875
Comments
<skos:exactMatch rdf:resource="http://creativecommons.org/licenses/by/4.0/"/> 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> |
Testé sur https://metawal.wallonie.be/geonetwork/srv/fre/catalog.search#/metadata/414cdf16-c697-4244-8f63-0ad6f1770400 et je ne retrouve pas https://publications.europa.eu/resource/authority/licence/CC_BY_4_0 dans les sorties DCAT. |
Déployé en TEST. |
Toujours not OK.
|
Doit encore être fait par @vbombaerts |
Ok la raison est la suivante: En DCAT-AP, on cherche dans le vocabulaire si une license du PO est disponible. Pour l'instant, la recherche supposait qu'on avait encodé en ISO une URI "d'origine" (eg. http://creativecommons.org/licenses/by/4.0/) et non l'URI du PO (eg. http://publications.europa.eu/resource/authority/licence/CC_BY_4_0). Donc la license n'était pas ajouté en DCAT-AP Le XPath ne recherche que dans le <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/licence/CC_BY_4_0"
at:deprecated="false">
...
<skos:exactMatch rdf:resource="http://creativecommons.org/licenses/by/4.0/"/> Il semble donc préférable de gérer les 2 cas ? Eg. si on a <mri:resourceConstraints>
<mco:MD_LegalConstraints>
<mco:useConstraints>
<mco:MD_RestrictionCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_RestrictionCode"
codeListValue="otherRestrictions"/>
</mco:useConstraints>
<mco:otherConstraints>
<gcx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply">No conditions apply to access and use.</gcx:Anchor>
</mco:otherConstraints>
</mco:MD_LegalConstraints>
</mri:resourceConstraints>
<mri:resourceConstraints>
<mco:MD_LegalConstraints>
<mco:useConstraints>
<mco:MD_RestrictionCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_RestrictionCode"
codeListValue="license"/>
</mco:useConstraints>
<mco:otherConstraints>
<gcx:Anchor xlink:href="https://publications.europa.eu/resource/authority/licence/CC_BY_4_0">Ces données sont disponibles sous licence CC-BY 4.0.</gcx:Anchor>
</mco:otherConstraints>
<mco:otherConstraints>
<gcx:Anchor xlink:href="http://creativecommons.org/licenses/by/4.0/">Ces données sont disponibles sous licence CC-BY 4.0 (original).</gcx:Anchor>
</mco:otherConstraints>
</mco:MD_LegalConstraints>
</mri:resourceConstraints> DCAT (on conserve les URI) <dct:license>
<dct:LicenseDocument rdf:about="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply"/>
</dct:license>
<dct:license>
<dct:LicenseDocument rdf:about="https://publications.europa.eu/resource/authority/licence/CC_BY_4_0"/>
</dct:license>
<dct:license>
<dct:LicenseDocument rdf:about="http://creativecommons.org/licenses/by/4.0/"/> DCAT-AP (on cherche une correspondance dans le vocabulaire du PO) <dct:accessRights>
<dct:RightsStatement rdf:about="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations"/>
</dct:accessRights>
<dct:license>
<dct:LicenseDocument rdf:about="http://publications.europa.eu/resource/authority/licence/CC_BY_4_0"/>
</dct:license>
<dct:license>
<dct:LicenseDocument rdf:about="http://publications.europa.eu/resource/authority/licence/CC_BY_4_0"/> |
A déployer en Test. |
Déployé en TEST. |
C'est OK en test. |
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
The text was updated successfully, but these errors were encountered: