... | ... | @@ -703,9 +703,18 @@ Exemple d'instance pour les droits d'utilisation concernant le jeux de données |
|
|
| Usage note | This property SHOULD be used to express the spatial representation type (grid, vector, tin). |
|
|
|
| Domain value | [INSPIRE-SRT](https://inspire.ec.europa.eu/metadata-codelist/SpatialRepresentationType) |
|
|
|
|
|
|
### 8.9 Contexte et exemples en [RDF 1.1 Turtle](https://www.w3.org/TR/turtle/) de la classe [dcat:Distribution](http://www.w3.org/ns/dcat#Distribution)
|
|
|
### 8.9 Propriété : dcat:packageFormat
|
|
|
|
|
|
Le code source suivant montre un exemple d'instanciation d'une ressource de type [dcat:Distribution](http://www.w3.org/ns/dcat#Distribution) pour un jeux de données [Sentinel 2 niveau 1C] (suivre le lien pour accéder au code source de l'exemple complet).
|
|
|
| **RDF Property:** | [dcat:packageFormat](https://www.w3.org/TR/vocab-dcat-2/#Property:distribution_packaging_format) |
|
|
|
|-------------------|:--------------------|
|
|
|
| Constraint | *Optional* |
|
|
|
| Definition | The package format of the distribution in which one or more data files are grouped together, e.g. to enable a set of related files to be downloaded together..|
|
|
|
| Range | [dct:MediaType](http://purl.org/dc/terms/MediaType) |
|
|
|
| Usage note | This property is used when the files in the distribution are packaged, e.g. in a ZIP file. The format should be expressed using a media type as defined by [IANA-MEDIA-TYPES](https://www.iana.org/assignments/media-types/), if available. See also [dcat:compressFormat](https://www.w3.org/TR/vocab-dcat-2/#Property:distribution_compression_format).|
|
|
|
|
|
|
### 8.10 Contexte et exemples en [RDF 1.1 Turtle](https://www.w3.org/TR/turtle/) de la classe [dcat:Distribution](http://www.w3.org/ns/dcat#Distribution)
|
|
|
|
|
|
Le code source suivant montre un exemple d'instanciation d'une ressource de type [dcat:Distribution](http://www.w3.org/ns/dcat#Distribution) pour un jeux de données [Sentinel 2 niveau 1C] qui n'a pas de lien direct de téléchargement vers un fichier de distribution (pas de propriété [dcat:downloadURL](https://www.w3.org/TR/vocab-dcat-2/#Property:distribution_download_url) pour le niveau jeux de données) mais une URL qui pointe vers une ressource décrivant la distribution et donnant accès au fichier à partir d'une authentification dans le système.
|
|
|
|
|
|
```turtle
|
|
|
@prefix dct: <http://purl.org/dc/terms/> .
|
... | ... | @@ -719,6 +728,23 @@ Le code source suivant montre un exemple d'instanciation d'une ressource de type |
|
|
dcat:accessService distribution_dataservice .
|
|
|
```
|
|
|
|
|
|
Un deuxième exemple ci-dessous avec une [dcat:Distribution](http://www.w3.org/ns/dcat#Distribution) d'un jeux de données dans laquelle un téléchargement direct d'un fichier est disponible avec la propriété [dcat:downloadURL](https://www.w3.org/TR/vocab-dcat-2/#Property:distribution_download_url). Voir l'exemple complet de fiche du dataset [Traits de Côte à Haute Résolution](https://gitlab.in2p3.fr/gaia-data/wp3-services/vocabulaires/dataterra_ap/dataterra_geodcatap/-/blob/main/examples/tchr_shom/latest/tchr_shom.ttl) présent dans le catalogue du pôle Fom@Ter.
|
|
|
|
|
|
```turtle
|
|
|
@prefix dct: <http://purl.org/dc/terms/> .
|
|
|
@prefix dcat: <http://www.w3.org/ns/dcat#> .
|
|
|
@prefix adms: <http://www.w3.org/ns/adms#> .
|
|
|
@prefix : <http://example-dataterra.org/> .
|
|
|
|
|
|
:dataset_distribution a dcat:Distribution ; # Physical embodiment of the Dataset in a particular format.
|
|
|
dct:license <https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdfLicense_URI> ;
|
|
|
dct:format <http://publications.europa.eu/resource/authority/file-type/SHP>, <http://publications.europa.eu/resource/authority/file-type/GML> ;
|
|
|
dcat:compressFormat <http://publications.europa.eu/resource/authority/file-type/7Z> ;
|
|
|
adms:representationTechnique <https://inspire.ec.europa.eu/metadata-codelist/SpatialRepresentationType/vector> ; # This property SHOULD be used to express the spatial representation type (grid, vector, tin)
|
|
|
dcat:downloadURL <https://services.data.shom.fr/INSPIRE/telechargement/prepackageGroup/TCHR_PACK_DL/prepackage/Kerguelen/file/Kerguelen.7z> ; # This property contains a URL that is a direct link to a downloadable file in a given format.
|
|
|
dcat:accessService distribution_dataservice .
|
|
|
```
|
|
|
|
|
|
## 9. Classe : dcat:DataService
|
|
|
|
|
|
| **RDF Class:** | [dcat:DataService](https://www.w3.org/TR/vocab-dcat-2/#Class:Data_Service) |
|
... | ... | |