DCAT-AP CH

La norme suisse en matière de métadonnées

DCAT-AP CH, le profil d’application suisse du vocabulaire de catalogage de données (Data Catalog Vocabulary, DCAT) pour les portails de données, se base sur le profil d’application international DCAT-AP standard. Il est implémenté sur opendata.swiss.

Les métadonnées de jeux de données moissonnées par opendata.swiss ou importées sur la plateforme par téléchargement XML doivent respecter la norme DCAT-AP CH. Les exigences minimales auxquelles vos métadonnées doivent répondre (mandatory, conditional) sont décrites ci-dessous, de même que les champs facultatifs qu’opendata.swiss prend en charge (optional).

Les normes DCAT-AP et DCAT-AP CH sont en constant développement. Il se peut par conséquent qu’elles diffèrent par moment de la norme implémentée sur opendata.swiss. Si c’est le cas, n’hésitez pas à nous contacter.

Si les métadonnées de vos jeux de données vont au-delà de la norme implémentée sur opendata.swiss, elles ne seront pas prises en compte et ne s’afficheront pas chez nous.

Cette documentation n’est pour l’heure disponible qu’en anglais.

DCAT-AP CH Standard Overview

RDF-File Structure & Example

Your data catalog must follow the DCAT-AP CH standard. It consists of the following 4 Classes:

  • the catalog

  • the publishers

  • the datasets

  • the distributions

These classes relate to each other as described below. All examples will be provided in both turtle and rdf/xml. rdf/xml is used for the actual import of the data. You can use a converter to convert between these two formats: https://www.easyrdf.org/converter

It is important to provide URIs for each of the classes in your catalog.

Data Catalog in Turtle

Here you can see how every class in the catalog has a URI
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://tierstatistik.identitas.ch/data/fig-cattle-pyr.csv>
  a dcat:Dataset ;
  dcat:distribution <https://tierstatistik.identitas.ch/de/fig-cattle-pyr.html> ;
  dct:publisher <https://tierstatistik.identitas.ch> .

<https://tierstatistik.identitas.ch/de/fig-cattle-pyr.html>
  a dcat:Distribution .

Data Catalog in RDF

In RDF the URIs are stored in the about attribute
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">

  <dcat:Dataset rdf:about="https://tierstatistik.identitas.ch/data/fig-cattle-pyr.csv">
    <dcat:distribution>
      <dcat:Distribution rdf:about="https://tierstatistik.identitas.ch/de/fig-cattle-pyr.html">
        </dcat:Distribution>
      </dcat:distribution>
  </dcat:Dataset>

</rdf:RDF>

The example catalogs above show the classes without any further properties. Here you can find an overview of all possible properties and which of these you must provide.

  • mandatory means you MUST provide them

  • conditional means you must provide them under certain conditions

  • optional means you may provide them

Example for Download

Have a look at the following file for a quickstart: full dataset example

Namespaces

All classes and properties have definitions that are accessible with a URI. Usually these URIs are provided in the header of the data catalog and receive an alias there, so that they can be easily referenced in the rest of the catalog: A dcat:Dataset really means http://www.w3.org/ns/dcat#Dataset. To avoid having to write that throughout the document, a namespace is defined by @prefix dcat: <http://www.w3.org/ns/dcat#> . in turtle or xmlns:dcat="http://www.w3.org/ns/dcat#" in RDF.

These are the namespaces that are used in DCAT-AP CH:

DCAT-AP CH namespaces in turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix schema: <http://schema.org/> .
DCAT-AP CH namespaces in rdf
<rdf:RDF
  xmlns:dcat="http://www.w3.org/ns/dcat#"
  xmlns:dct="http://purl.org/dc/terms/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:vcard="http://www.w3.org/2006/vcard/ns#"
  xmlns:schema="http://schema.org/"
>

Internationalisation

The DCAT-AP CH Standard allows/supports that text elements of datasets and their distributions are translated in the following four languages:

  • French (fr)

  • German (de)

  • Italian (it)

  • English (en)

Examples are provided for how to translate those elements for all relevant properties.

Overview

Below you find a list of classes that you need to implement in your catalog. Translatable elements are marked as such under usage notes.

Classes of DCAT-AP CH

class

URI

usage notes

Catalog

dcat:Catalog

mandatory

Dataset

dcat:Dataset

mandatory

Distribution

dcat:Distribution

mandatory

Properties of dcat:Catalog

property

URI

usage notes

dataset

dcat:dataset

mandatory

Properties of dcat:Dataset

property

URI

usage notes

title

dct:title

mandatory, multilingual

description

dct:description

mandatory, multilingual

publisher

dct:publisher

mandatory, import format changed

contact point

dcat:contactPoint

mandatory

identifier

dct:identifier

mandatory

distribution

dcat:distribution

mandatory

issued

dct:issued

conditional

modified

dct:modified

conditional

theme

dcat:theme

conditional, new vocabulary to use

landing page

dcat:landingPage

conditional, import format changed

language

dct:language

conditional

keyword

dcat:keyword

optional, multilingual

spatial

dct:spatial

optional

coverage

dct:coverage

optional

temporal

dct:temporal

optional

accrual periodicity

dct:accrualPeriodicity

optional, import format changed

related resource

dct:relation

optional, mandatory for federal level, the legal basis must be indicated here

qualified relation

dcat:qualifiedRelation

optional, replaces the property rdfs:seeAlso

documentation

foaf:page

optional, new property

conforms to

dct:conformsTo

optional, new property

Properties of dcat:Distribution

property

URI

usage notes

issued

dct:issued

mandatory

access url

dcat:accessURL

mandatory

license

dct:license

mandatory, replaces dct:rights

title

dct:title

conditional, multilingual

description

dct:description

conditional, multilingual

byte size

dct:byteSize

conditional

media type

dcat:mediaType

conditional

format

dct:format

conditional, use a Controlled Vocabulary (CV)

rights

dct:rights

optional, for exceptional use only

language

dct:language

conditional

modified

dct:modified

conditional

identifier

dct:identifier

optional

download url

dcat:downloadURL

optional

coverage

dct:coverage

optional

documentation

foaf:page

optional, new property

temporal resolution

dcat:temporalResolution

optional, new property

accessService

dcat:accessService

optional, new property, read usage notes

Catalog

dcat:Catalog (DCAT)

DCAT URI

dcat:Catalog

Requirement Level

mandatory

Cardinality

1..1

Description

Catalog with datasets, usually a catalog endpoint

Usage Notes

If possible provide a URI, where the catalog can be accessed

Class dcat:Catalog in Turtle

A dcat:Catalog with a URI in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/catalog-endpoint.rdf>
  a dcat:Catalog ;
  dcat:dataset <https://swisstopo/123>, <https://swisstopo/345> .

Class dcat:Catalog in Rdf/xml

A dcat:Catalog with a URI in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Catalog rdf:about="https://swisstopo/catalog-endpoint.rdf">
    <dcat:dataset rdf:resource="https://swisstopo/123"/>
    <dcat:dataset rdf:resource="https://swisstopo/345"/>
  </dcat:Catalog>

</rdf:RDF>

dcat:dataset (DCAT)

DCAT URI

dcat:dataset

Domain

dcat:Catalog

Value

dcat:Dataset

Requirement Level

mandatory

Cardinality

1..n

Description

Datasets that are included in the catalog

Usage Notes

Provide at least one dataset per catalog

Property dcat:dataset of dcat:Catalog in Turtle

A dcat:Catalog containing two datasets in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/catalog-endpoint.rdf>
  a dcat:Catalog ;
  dcat:dataset <https://swisstopo/123>, <https://swisstopo/345> .

Property dcat:dataset of dcat:Catalog in Rdf/xml

A dcat:Catalog containing two datasets in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Catalog rdf:about="https://swisstopo/catalog-endpoint.rdf">
    <dcat:dataset rdf:resource="https://swisstopo/123"/>
    <dcat:dataset rdf:resource="https://swisstopo/345"/>
  </dcat:Catalog>

</rdf:RDF>

Dataset

dcat:Dataset (DCAT)

DCAT URI

dcat:Dataset

Requirement Level

mandatory

Cardinality

1..n

Description

A single dataset of the catalog

Usage Notes

Provide at least one dataset per catalog. Provide a URI per dataset if possible

Class dcat:Dataset with a URI in Turtle

a dcat:Dataset with a URI in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/123>
  a dcat:Dataset .

Class dcat:Dataset with a URI in Rdf/xml

a dcat:Dataset with a URI in rdf
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
  </dcat:Dataset>

</rdf:RDF>

dct:identifier (DCAT)

DCAT URI

dct:identifier

Domain

dcat:Dataset

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal with special requirements, see Usage Notes

Requirement Level

mandatory

Cardinality

1..1

Description

Unique identifier of the dataset across all publishers.

Usage Notes

The identifier is expected in the following structure: [Source-Dataset-ID]@[Source-Organisation-ID] where [Source-Organisation-ID] is the slug of the organization on opendata.swiss. [Source-Dataset-ID] must be unique within the datasets of the organization. A recommended way to choose this is to use the ID in the source system of the publisher. It can consist of the following characters: A-Za-z, 0-9 and - and _

Property dct:identifier of dcat:Dataset in Turtle

The dct:identifier is made up of the organization slug and an id to uniquely identify the dataset on opendata.swiss
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:identifier "123@amt-fur-landestopographie-swisstopo" .

Property dct:identifier of dcat:Dataset in Rdf/xml

The dct:identifier is made up of the organization slug and an id to uniquely identify the dataset on opendata.swiss
:emphasize-lines: 7

<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:identifier>123@amt-fur-landestopographie-swisstopo</dct:identifier>
  </dcat:Dataset>

</rdf:RDF>

dct:title (DCAT)

DCAT URI

dct:title

Domain

dcat:Dataset

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

mandatory

Cardinality

1..4 (one for each language)

Description

Title of the dataset in different languages

Usage Notes

Provide at least one of the languages en, de, fr, it

Property dct:title of dcat:Dataset in Turtle

In Turtle strings are marked by the language they are in
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv>
  a dcat:Dataset ;
  dct:title "Hunde"@de, "Chien"@fr, "Dogs"@en, "Cani"@it.

Property dct:title of dcat:Dataset in Rdf/xml

In RDF the language is stored in the xml:lang attribute
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv">
    <dct:title xml:lang="de">Hunde</dct:title>
    <dct:title xml:lang="fr">Chien</dct:title>
    <dct:title xml:lang="en">Dogs</dct:title>
    <dct:title xml:lang="it">Cani</dct:title>
  </dcat:Dataset>

</rdf:RDF>

dct:description (DCAT)

DCAT URI

dct:description

Domain

dcat:Dataset

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

mandatory

Cardinality

1..4 (one for each language)

Description

Description of the dataset in different languages

Usage Notes

Provide at least one of the languages en, de, fr, it. Markdown can be used.

Property dct:description of dcat:Dataset using Markdown in Turtle

Description of a dataset using Markdown in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://bag/dataset/covid-19@bundesamt-fur-gesundheit-bag>
  a dcat:Dataset ;
  dct:description """Kennzahlen zu laborbestätigten Fällen, Hospitalisationen, Todesfällen, Tests, Impfungen, relevanten Virusvarianten, Re-Werten, Contact Tracing (Isolation und Quarantäne), Spitalkapazitäten und zur internationalen Lage.
### Dokumentation
- [Daten Dokumentation](https://www.covid19.admin.ch/api/data/documentation)
- [Release Notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)"""@de, """Key figures on laboratory-confirmed cases, hospitalisations, deaths, tests, vaccinations, relevant virus variants, Re values, contact tracing (isolation and quarantine), hospital capacity and the international situation.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)"""@en, """Cifre chiave su casi confermati in laboratorio, ricoveri ospedalieri, decessi, test, vaccinazioni, principali varianti del virus, valori Re, tracciamento dei contatti (isolamento e quarantena), capacità degli ospedali e sulla situazione internazionale.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)"""@it, """Chiffres clés concernant les cas confirmés en laboratoire, les hospitalisations, les décès, les tests, les vaccinations, les variantes du virus pertinentes, les valeurs Re, le traçage des contacts (isolation et quarantaine), les capacités hospitalières et la situation internationale.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)"""@fr ;   - [data documentation](https://www.covid19.admin.ch/api/data/documentation)

Property dct:description of dcat:Dataset using Markdown in Rdf/xml

Description of a dataset using Markdown in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://bag/dataset/covid-19@bundesamt-fur-gesundheit-bag">
    <dct:description xml:lang="de">Kennzahlen zu laborbestätigten Fällen, Hospitalisationen, Todesfällen, Tests, Impfungen, relevanten Virusvarianten, Re-Werten, Contact Tracing (Isolation und Quarantäne), Spitalkapazitäten und zur internationalen Lage.
### Dokumentation
- [Daten Dokumentation](https://www.covid19.admin.ch/api/data/documentation)
- [Release Notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)</dct:description>
    <dct:description xml:lang="fr">Chiffres clés concernant les cas confirmés en laboratoire, les hospitalisations, les décès, les tests, les vaccinations, les variantes du virus pertinentes, les valeurs Re, le traçage des contacts (isolation et quarantaine), les capacités hospitalières et la situation internationale.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)</dct:description>
    <dct:description xml:lang="it">Cifre chiave su casi confermati in laboratorio, ricoveri ospedalieri, decessi, test, vaccinazioni, principali varianti del virus, valori Re, tracciamento dei contatti (isolamento e quarantena), capacità degli ospedali e sulla situazione internazionale.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)</dct:description>
    <dct:description xml:lang="en">Key figures on laboratory-confirmed cases, hospitalisations, deaths, tests, vaccinations, relevant virus variants, Re values, contact tracing (isolation and quarantine), hospital capacity and the international situation.
### Documentation
- [data documentation](https://www.covid19.admin.ch/api/data/documentation)
- [release notes](https://www.covid19.admin.ch/api/data/documentation#releases)
- [data context API](https://www.covid19.admin.ch/api/data/documentation#data-context-api)</dct:description>

  </dcat:Dataset>

</rdf:RDF>

dct:publisher (DCAT)

DCAT URI

dct:publisher

Domain

dcat:Dataset

Value

foaf:Organziation http://xmlns.com/foaf/spec/#term_Organization

Requirement Level

mandatory

Cardinality

1..1

Description

The publisher is the organization with the legal authority to publish the dataset.

Usage Notes

See here for the difference between dct:publisher and dcat:contactPoint: https://joinup.ec.europa.eu/release/how-are-publisher-and-contact-point-modelled

Update

Publisher must be a foaf:Organzation DCAT-AP.

Property dct:publisher of dcat:Dataset in Turtle

publisher as foaf:Organization which is a subtype of foaf:Agent
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:publisher <https://swisstopo> .

<https://swisstopo>
  a foaf:Organization ;
  foaf:name: "Landesamt für Topographie Swisstopo" .

Property dct:publisher of dcat:Dataset in Rdf/xml

publisher as foaf:Organization which is a subtype of foaf:Agent
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:publisher>
      <foaf:Organization rdf:about="https://swisstopo">
        <foaf:name>Landesamt für Topographie Swisstopo</foaf:name:>
      </foaf:Organization>
    </dct:publisher>

  </dcat:Dataset>

</rdf:RDF>

Deprecated: Property dct:publisher of dcat:Dataset in Turtle

Publisher of a dataset in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:publisher [
     a rdf:Description ;
     rdfs:label: "Bundesamt für Landestopografie swisstopo"
  ] .

Deprecated: Property dct:publisher of dcat:Dataset in Rdf/xml

Publisher of a dataset in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:publisher>
      <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Description"/>
        <rdfs:label:>Bundesamt für Landestopografie swisstopo</rdfs:label:>
      </rdf:Description>
    </dct:publisher>

  </dcat:Dataset>

</rdf:RDF>

dcat:contactPoint (DCAT)

DCAT URI

dcat:contactPoint

Domain

dcat:Dataset

Value

vcard:Kind

Requirement Level

mandatory

Cardinality

1..n

Description

One or more contact email addresses for this dataset

Usage Notes

vcard:Kind is in itself a class: choose between vcard:Organization and vcard:Individual and set the attributes vcard:hasEmail and vcard:fn.

Property dcat:contactPoints of dcat:Dataset in Turtle

vcard:Kind is a class: choose between vcard:Organization and vcard:Individual
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dcat:contactPoint [
    a vcard:Organization ;
    vcard:fn "Abteilung Lärm BAFU" ;
    vcard:hasEmail <mailto:noise@bafu.admin.ch>
  ], [
    a vcard:Individual ;
    vcard:fn "Max Muster, BAFU Datenspezialist" ;
    vcard:hasEmail <mailto:max-muster@bafu.admin.ch>
  ] .

Property dcat:contactPoints of dcat:Dataset in Rdf/xml

vcard:Kind is a class: choose between vcard:Organization and vcard:Individual
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:vcard="http://www.w3.org/2006/vcard/ns#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:contactPoint>
      <vcard:Organization>
        <vcard:fn>Abteilung Lärm BAFU</vcard:fn>
        <vcard:hasEmail rdf:resource="mailto:noise@bafu.admin.ch"/>
      </vcard:Organization>
    </dcat:contactPoint>

    <dcat:contactPoint>
      <vcard:Individual>
        <vcard:fn>Max Muster, BAFU Datenspezialist</vcard:fn>
        <vcard:hasEmail rdf:resource="mailto:max-muster@bafu.admin.ch"/>
      </vcard:Individual>
    </dcat:contactPoint>

  </dcat:Dataset>

</rdf:RDF>

dcat:distribution (DCAT)

DCAT URI

dcat:distribution

Domain

dcat:Dataset

Value

dcat:Distribution

Requirement Level

mandatory

Cardinality

1..n

Description

Distributions that belong to the dataset

Usage Notes

Provide at least one distribution per dataset

Property dcat:distribution of dcat:Dataset in Turtle

dcat:Distribution with URIs in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dcat:distribution <https://swisstopo/resource/456>,
                    <https://swisstopo/resource/345> .

Property dcat:distribution of dcat:Dataset in Rdf/xml

dcat:Distribution with URIs in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:distribution rdf:resource="https://swisstopo/resource/456"/>
    <dcat:distribution rdf:resource="https://swisstopo/resource/345"/>
  </dcat:Dataset>

</rdf:RDF>

dct:issued (DCAT)

DCAT URI

dct:issued

Domain

dcat:Dataset

Value

Date and time in ISO-8601 format

Requirement Level

conditional: required once the the dataset is published

Cardinality

0..1

Description

Date of the first publication of the dataset

Usage Notes

Can be empty while the dataset is in preparation.

Property dct:issued of dcat:Dataset in Turtle

The issued date is expected in ISO Format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Dataset ;
    dct:issued "2013-04-26T01:00:00Z"^^xsd:dateTime .

Property dct:issued of dcat:Dataset in Rdf/xml

The issued date is expected in ISO Format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-04-26T01:00:00Z</dct:issued>
  </dcat:Dataset>

</rdf:RDF>

dct-modified (DCAT)

DCAT URI

dct:modified

Domain

dcat:Dataset

Value

Date and time in ISO-8601 format

Requirement Level

conditional: required when the dataset has changed since its first publication

Cardinality

0..1

Description

Date of the last change

Property dct:modified of dcat:Dataset in Turtle

The date of the last modification is expected in ISO Format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Dataset ;
    dct:modified "2013-04-26T01:00:00Z"^^xsd:dateTime .

Property dct:modified of dcat:Dataset in Rdf/xml

The date of the last modification is expected in ISO Format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-04-26T01:00:00Z</dct:modified>
  </dcat:Dataset>

</rdf:RDF>

dcat:theme (DCAT)

DCAT URI

dcat:theme

Domain

dcat:Dataset

Value

skos:Concept

Requirement Level

optional

Cardinality

0..n

Description

This property refers to a theme/category of the dataset. A dataset can be associated with multiple themes. CV to be used: [VOCAB-EU-THEME]

Property dcat:theme of dcat:Dataset in Turtle

The categories are selected from the EU theme vocabulary
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dcat:theme <http://publications.europa.eu/resource/authority/data-theme/REGI>,
             <http://publications.europa.eu/resource/authority/data-theme/ENVI> ;

Property dcat:theme of dcat:Dataset in Rdf/xml

The categories are selected from the EU theme vocabulary
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:theme rdf:resource="http://publications.europa.eu/resource/authority/data-theme/REGI"/>
    <dcat:theme rdf:resource="http://publications.europa.eu/resource/authority/data-theme/ENVI"/>
  </dcat:Dataset>

</rdf:RDF>

Deprecated: Property dcat:theme of dcat:Dataset in Turtle

The categories are selected from a Swiss controlled vocabulary
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dcat:theme <http://opendata.swiss/themes/population> ;
             <http://opendata.swiss/themes/territory> .

Deprecated: Property dcat:theme of dcat:Dataset in Rdf/xml

The categories are selected from a Swiss controlled vocabulary
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:theme rdf:resource="http://opendata.swiss/themes/population"/>
    <dcat:theme rdf:resource="http://opendata.swiss/themes/territory"/>
  </dcat:Dataset>

</rdf:RDF>

dct:language (DCAT)

DCAT-URI

dct:language

Domain

dcat:Dataset

Value

ISO 639-1 two-letter code

Requirement Level

conditional

Cardinality

0..n

Description

Languages in which distributions are available

Usage Notes

Should contain all languages for which a distribution of the dataset is available. If all distributions are language-independent, this field can be left out. Only the languages « de », « fr », « en », « it » are currently imported to opendata.swiss

Property dct:language of dcat:Dataset in Turtle

A dcat:Dataset with multiple dct:language properties
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:language "de", "fr".

Property dct:language of dcat:Dataset in Rdf/xml

A dcat:Dataset with multiple dct:language properties
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:language>de</dct:language>
    <dct:language>fr</dct:language>
  </dcat:Dataset>

</rdf:RDF>

dcat:landingPage (DCAT)

DCAT URI

dcat:landingPage

Domain

dcat:Dataset

Value

foaf:Document http://xmlns.com/foaf/spec/#term_Document

Requirement Level

optional

Cardinality

0..1

Description

Website of the dataset with related information

Usage Notes

If data of the dataset is only accessible via a landing page (i.e. direct download URLs are not known), the landing page must be set and the link should be duplicated as dcat:accessURL on a distribution.

Update

Use a resource instead of a string literal for the landing page

Property dcat:landingPage of dcat:Dataset in Turtle

The landing page is provided as a resource
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/123>
  a dcat:Dataset ;
    dcat:landingPage <http://www.bafu.admin.ch/laerm/index.html> .

Property dcat:landingPage of dcat:Dataset in Rdf/xml

The landing page is provided as a resource
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:landingPage rdf:resource="http://www.bafu.admin.ch/laerm/index.html"/>
  </dcat:Dataset>

</rdf:RDF>

Deprecated: Property dcat:landingPage of dcat:Dataset in Turtle

The landing page is provided as a string
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/123>
  a dcat:Dataset ;
    dcat:landingPage "http://www.bafu.admin.ch/laerm/index.html" .

Deprecated: Property dcat:landingPage of dcat:Dataset in Rdf/xml

The landing page is provided as a string
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dcat:landingPage>http://www.bafu.admin.ch/laerm/index.html</dcat:landingPage>
  </dcat:Dataset>

dct:relation (DCAT)

DCAT URI

dct:relation

Domain

dcat:Dataset

Value

rdfs:Resource

Requirement Level

optional

Cardinality

0..n

Description

related resource

Usage Notes

Link to documents that provide further information for the dataset. This property is also used to link to the legal basis regarding the publication of the dataset

Property dct:relation of dcat:Dataset in Turtle

dct:relation values should be of the class rdfs:Resource or a subclass. They should therefore each have a URI, according to DCAT
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:relation <http://www.bafu.admin.ch/laerm/index.html>, <http://www.bafu.admin.ch/legal_info.html>, <http://www.bafu.admin.ch/laerm/index.html?lang=de> .

<http://www.bafu.admin.ch/laerm/index.html?lang=de> rdfs:label "Webseite des BAFU" .

Property dct:relation of dcat:Dataset in Rdf/xml

dct:relation values should be of the class rdfs:Resource or a subclass. They should therefore each have a URI, according to DCAT
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:relation rdf:resource="http://www.bafu.admin.ch/laerm/index.html"/>
    <dct:relation rdf:resource="http://www.bafu.admin.ch/legal_info.html"/>
    <dct:relation>
      <rdf:Description rdf:about="http://www.bafu.admin.ch/laerm/index.html?lang=de">
        <rdfs:label>Webseite des BAFU</rdfs:label>
      </rdf:Description>
    </dct:relation>

  </dcat:Dataset>

</rdf:RDF>

foaf:page (DCAT)

DCAT URI

foaf:page

Domain

dcat:Dataset

Value

foaf:Document

Requirement Level

Optional

Cardinality

0..n

Description

documentation

Usage Notes

This property refers to a page or document about this Dataset

Property foaf:page of dcat:Dataset in Turtle

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://bag/covid-19> a dcat:Dataset ;
          foaf:Document <https://www.covid19.admin.ch/api/data/documentation> ,
                    <https://de.wikipedia.org/wiki/Datenmanagement> .

Property foaf:page of dcat:Dataset in Rdf/xml

<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">

  <dcat:Dataset rdf:about="https://bag/covid-19">
    <foaf:Document rdf:about="https://www.covid19.admin.ch/api/data/documentation"/>
    <foaf:Document rdf:about="https://de.wikipedia.org/wiki/Datenmanagement"/>
  </dcat:Dataset>

</rdf:RDF>

dct:conformsTo (DCAT)

DCAT URI

dct:conformsTo

Domain

dcat:Dataset

Value

dct:Standard

Requirement Level

Optional

Cardinality

0..n

Description

This property refers to an implementing rule or other specification.

Usage Notes

This property SHOULD be used to indicate the model, schema, ontology, view or profile that this representation of a dataset conforms to. This is (generally) a complementary concern to the format or media-type.

Property dct:conformsTo of dcat:Dataset in Turtle

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://fr.ch/strassenverkehr>
    a dcat:Dataset ;
    dct:conformsTo <http://models.geo.admin.ch/ASTRA> .

Property dct:conformsTo of dcat:Dataset in Rdf/xml

<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://fr.ch/strassenverkehr">
    <dct:conformsTo rdf:resource="http://models.geo.admin.ch/ASTRA"/>
  </dcat:Dataset>

</rdf:RDF>

dcat:keyword (DCAT)

DCAT URI

dcat:keyword

Domain

dcat:Dataset

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

optional

Cardinality

0..n

Description

Keywords that match the topic of the dataset and help data users to find it

Usage Notes

Keywords must be added as localized strings in the 4 languages en, de, fr, it

Property dcat:keyword of dcat:Dataset in Turtle

Keywords are given as localized strings
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv>
  a dcat:Dataset ;
  dcat:keyword "Hunde"@de,
              "statistics"@de,
              "Chien"@fr,
              "Dogs"@en,
              "Cani"@it.

Property dcat:keyword of dcat:Dataset in Rdf/xml

Keywords are given as localized strings
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Dataset rdf:about="https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv">
    <dcat:keyword xml:lang="de">Hunde</dcat:keyword>
    <dcat:keyword xml:lang="de">statistics</dcat:keyword>
    <dcat:keyword xml:lang="fr">Chien</dcat:keyword>
    <dcat:keyword xml:lang="en">Dogs</dcat:keyword>
    <dcat:keyword xml:lang="it">Cani</dcat:keyword>
  </dcat:Dataset>

</rdf:RDF>

dct:spatial (DCAT)

DCAT URI

dct:spatial

Domain

dcat:Dataset

Value

dct:Location https://www.dublincore.org/specifications/dublin-core/dcmi-terms/2012-06-14/#terms-Location

Requirement Level

optional

Cardinality

0..n

Description

Geographical classification of the dataset.

Usage Notes

Can be a description, coordinates, a bounding-box or a polygon. This field currently supports GeoJSON with the LOCN extension . See also: How should dct:spatial and dct:Location be used? |

Property dct:spatial of dcat:Dataset in Turtle

Property spatial
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:spatial <http://publications.europa.eu/mdr/authority/country/ZWE>, "Bern" .

Property dct:spatial of dcat:Dataset in Rdf/xml

Property spatial
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
         xmlns:dct="http://purl.org/dc/terms/">
  <dcat:Dataset rdf:about="https://swisstopo/123">
        <dct:spatial rdf:resource="http://publications.europa.eu/mdr/authority/country/ZWE"/>
        <dct:spatial>Bern</dct:spatial>

  </dcat:Dataset>

</rdf:RDF>

dct:coverage (DCAT)

DCAT URI

dct:coverage

Domain

dcat:Dataset

Value

dct:LocationPeriodOrJurisdiction, see http://dublincore.org/documents/2012/06/14/dcmi-terms/?v=terms#LocationPeriodOrJurisdiction

Requirement Level

optional

Cardinality

0..n

Description

The location or time a dataset covers.

Usage Notes

This property is deprecated and might be excluded from future versions of DCAT-AP CH. Consider using dct:temporal or dct:spatial. If a date is provided, it does not have to be an ISO date.

Property dct:coverage of dcat:Dataset in Turtle

Coverage can be a date or a location: it does not have to be an isodate, but can be any date format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Dataset ;
    dct:coverage "2021-04-26" .

Property dct:coverage of dcat:Dataset in Rdf/xml

Coverage can be a date or a location: it does not have to be an isodate, but can be any date format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:coverage>2021-04-26</dct:coverage>
  </dcat:Dataset>

</rdf:RDF>

dct:temporal (DCAT)

DCAT URI

dct:temporal

Domain

dcat:Dataset

Value

dct:PeriodOfTime: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/2012-06-14/#terms-PeriodOfTime

Requirement Level

optional

Cardinality

0..n

Description

One or more time period(s) that the dataset covers.

Usage Notes

<schema:startDate> contains the start date, <schema:endDate> contains the end date. Valid date formats can be found here: http://www.w3.org/2001/XMLSchema#date

Property dct:temporal of dcat:Dataset in Turtle

A time period in Turtle: there can be multiple of these
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  dct:temporal [
    a dct:PeriodOfTime ;
    schema:startDate "1905-03-01"^^xsd:date ;
    schema:endDate "2013-01-05"^^xsd:date
  ] .

Property dct:temporal of dcat:Dataset in Rdf/xml

A time period in RDF: there can be multiple of these
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/"
         xmlns:schema="http://schema.org/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:temporal>
      <dct:PeriodOfTime>
        <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1905-03-01</schema:startDate>
        <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2013-01-05</schema:endDate>
      </dct:PeriodOfTime>
    </dct:temporal>
  </dcat:Dataset>
</rdf:RDF>

dct:accrual-periodicity (DCAT)

DCAT URI

dct:accrualPeriodicity

Domain

dcat:Dataset

Value

Controlled vocabulary http://publications.europa.eu/resource/authority/frequency

Requirement Level

optional

Cardinality

0..1

Description

The frequency with which this dataset is updated.

Usage Notes

Provide a term of the controlled vocabulary in the form of a URI.

Update

Use EU vocabulary that is mandatory on DCAT-AP.

Property dct:accrualPeriodicity of dcat:Dataset in Turtle

EU frequency vocabulary is used
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
          a dcat:Dataset ;
          dct:accrualPeriodicity <http://publications.europa.eu/resource/authority/frequency/ANNUAL> .

Property dct:accrualPeriodicity of dcat:Dataset in Rdf/xml

EU frequency vocabulary is used
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:accrualPeriodicity rdf:resource="http://publications.europa.eu/resource/authority/frequency/DAILY"/>
  </dcat:Dataset>

</rdf:RDF>

Deprecated: Property dct:accrualPeriodicity of dcat:Dataset in Turtle

dataset that is updated on a daily basis
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
          a dcat:Dataset ;
          dct:accrualPeriodicity <http://purl.org/cld/freq/daily>  .

Deprecated: Property dct:accrualPeriodicity of dcat:Dataset in Rdf/xml

dataset that is updated on a daily basis
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://swisstopo/123">
    <dct:accrualPeriodicity rdf:resource="http://purl.org/cld/freq/daily"/>
  </dcat:Dataset>

</rdf:RDF>

dcat:qualifiedRelation (DCAT)

DCAT URI

dcat:qualifiedRelation

Domain

dcat:Dataset

Value

rdfs:Resource

Requirement Level

Optional

Cardinality

0..n

Description

Link to related datasets on opendata.swiss.

Usage Notes

Contains the identifier of the related dataset. The perma link must be used:

https://ogdch-abnahme.clients.liip.ch/perma/adb280a9-381d-4fb3-ae43-b40ace826dc7@stadt-zurich"

Property dcat:qualifiedRelation of dcat:Dataset in Turtle

A dcat:Dataset with a dcat:qualifiedRelation in Turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

<https://example-dataset-stadt-zurich> a dcat:Dataset ;
        dcat:qualifiedRelation [
                 rdf:type dcat:Relationship ;
                 dcterms:relation <https://opendata.swiss/perma/adb280a9-381d-4fb3-ae43-b40ace826dc7@stadt-zurich> ;
        ] .

Property dcat:qualifiedRelation of dcat:Dataset in Rdf/xml

A dcat:Dataset with a dcat:qualifiedRelation in RDF
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:dcat="http://www.w3.org/ns/dcat#"
          xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Dataset rdf:about="https://example-dataset-stadt-zurich">
     <dcat:qualifiedRelation>
        <dcat:Relationship>
           <dct:relation rdf:resource="https://opendata.swiss/perma/adb280a9-381d-4fb3-ae43-b40ace826dc7@stadt-zurich"/>
        </dcat:Relationship>
     </dcat:qualifiedRelation>
  </dcat:Dataset>
</rdf:RDF>

Deprecated: Property rdfs:seeAlso of dcat:Dataset in Turtle

A dcat:Dataset with a rdfs:seeAlso in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://swisstopo/123>
  a dcat:Dataset ;
  rdfs:seeAlso "326@swisstopo" .

Deprecated: Property rdfs:seeAlso of dcat:Dataset in Rdf/xml

A dcat:Dataset with a rdfs:seeAlso in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

  <dcat:Dataset rdf:about="https://swisstopo/123">
     <rdfs:seeAlso>326@swisstopo</rdfs:seeAlso>
  </dcat:Dataset>

</rdf:RDF>

Distribution

dcat:Distribution (DCAT)

DCAT URI

dcat:Distribution

Requirement Level

mandatory

Cardinality

1..n

Description

A single distribution of a dataset

Usage Notes

Provide at least one distribution per dataset

Class dcat:Distribution with a URI in Turtle

a dcat:Distribution with a URI
@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/123/file.csv>
  a dcat:Distribution .

Class dcat:Distribution with a URI in Rdf/xml

a dcat:Distribution with a URI
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Distribution rdf:about="https://swisstopo/123/file.csv">
  </dcat:Distribution>

</rdf:RDF>

dcat:accessURL (DCAT)

DCAT URI

dcat:accessURL

Domain

dcat:Distribution

Value

URI: http://www.w3.org/2001/XMLSchema#anyURI

Requirement Level

mandatory

Cardinality

1..n

Description

URL where the distribution can be found. This could be a download URL, an API URL or a landing page URL. If the distribution is only available through a landing page, this field must contain the URL of the landing page. If a download URL was given for this distribution, this field must contain the same value.

Property dcat:accessURL of dcat:Distribution in Turtle

The access url is mandatory
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg>
   a dcat:Distribution ;
   dcat:accessURL <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg> .

Property dcat:accessURL of dcat:Distribution in Rdf/xml

The access url is mandatory
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Distribution rdf:about="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg">
    <dcat:accessURL rdf:resource="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg"/>
  </dcat:Distribution>

</rdf:RDF>

dcat:downloadURL (DCAT)

DCAT URI

dcat:downloadURL

Domain

dcat:Distribution

Value

URI: http://www.w3.org/2001/XMLSchema#anyURI

Requirement Level

optional

Cardinality

0..n

Description

URL for the download, if the distribution can be downloaded

Usage Notes

If the distribution can be downloaded, this property usually contains the same url as dcat:accessURL. See also https://www.w3.org/ns/dcat#downloadURL

Property dcat:downloadURL of dcat:Distribution in Turtle

The download url can be used for files and will then be the same as the access url
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Distribution ;
      dcat:downloadURL <http:swisstopo/file/1234/ld+json> ;
      dcat:accessURL <http:swisstopo/file/1234/ld+json> ;
      dcat:mediaType: <https://www.iana.org/assignments/media-types/application/ld+json> .

Property dcat:downloadURL of dcat:Distribution in Rdf/xml

The download url can be used for files
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dcat:downloadURL rdf:resource="http:swisstopo/file/1234/ld+json"/>
    <dcat:accessURL rdf:resource="http:swisstopo/file/1234/ld+json"/>
    <dcat:mediaType: rdf:resource="https://www.iana.org/assignments/media-types/application/ld+json"/>
  </dcat:Distribution>

dct:issued (DCAT)

DCAT URI

dct:issued

Domain

dcat:Distribution

Value

Date and time in ISO-8601 format

Requirement Level

mandatory

Cardinality

1..1

Description

Date of the publication of this distribution

Property dct:issued of dcat:Distribution in Turtle

The issued date is expected in ISO Format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Distribution ;
    dct:issued "2013-04-26T01:00:00Z"^^xsd:dateTime .

Property dct:issued of dcat:Distribution in Rdf/xml

The issued date is expected in ISO Format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-04-26T01:00:00Z</dct:issued>
  </dcat:Distribution>

</rdf:RDF>

dct:rights (DCAT)

DCAT URI

dct:rights

Domain

dcat:Distribution

Value

dct:RightsStatement

Requirement Level

Recommended

Cardinality

0..1

Description

This property refers to a statement that specifies rights associated with the Distribution. Only used in exceptional cases (see usage notes below).

Usage notes

Imporant: The property dct:license with the values accepted for opendata.swiss is now requiered for the terms of use. Exception: If someone uses datasets with CC-licenses in their catalogue, these can be kept under dct:rights, but in this case the terms of use must be entered under dct:license.

Values acceptable for opendata.swiss
http://dcat-ap.ch/vocabulary/licenses/terms_open
http://dcat-ap.ch/vocabulary/licenses/terms_by
http://dcat-ap.ch/vocabulary/licenses/terms_ask
http://dcat-ap.ch/vocabulary/licenses/terms_by_ask
Deprecated: Values acceptable for opendata.swiss
NonCommercialAllowed-CommercialAllowed-ReferenceNotRequired
NonCommercialAllowed-CommercialAllowed-ReferenceRequired
NonCommercialAllowed-CommercialWithPermission-ReferenceNotRequired
NonCommercialAllowed-CommercialWithPermission-ReferenceRequired
Values not acceptable for opendata.swiss
NonCommercialAllowed-CommercialNotAllowed-ReferenceNotRequired
NonCommercialAllowed-CommercialNotAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialNotAllowed-ReferenceNotRequired
NonCommercialNotAllowed-CommercialNotAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialAllowed-ReferenceNotRequired
NonCommercialNotAllowed-CommercialAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialWithPermission-ReferenceNotRequired
NonCommercialNotAllowed-CommercialWithPermission-ReferenceRequired

Property dct:rights of dcat:Distribution in Turtle

the rights statement comes from a controlled vocabulary
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg>
   a dcat:Distribution ;
   dcat:accessURL <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg> ;
   dct:rights <http://dcat-ap.ch/vocabulary/licenses/terms_by> .

Property dct:rights of dcat:Distribution in Rdf/xml

the rights statement comes from a controlled vocabulary
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg">
    <dcat:accessURL rdf:resource="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg"/>
    <dct:rights rdf:resource="http://dcat-ap.ch/vocabulary/licenses/terms_by"/>
  </dcat:Distribution>

</rdf:RDF>

Deprecated: Property dct:rights of dcat:Distribution in Turtle

the rights statement comes from a controlled vocabulary
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg>
   a dcat:Distribution ;
   dcat:accessURL <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg> ;
   dct:rights "NonCommercialAllowed-CommercialAllowed-ReferenceRequired" .

Deprecated: Property dct:rights of dcat:Distribution in Rdf/xml

the rights statement comes from a controlled vocabulary
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg">
    <dcat:accessURL rdf:resource="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg"/>
    <dct:rights>NonCommercialAllowed-CommercialAllowed-ReferenceRequired</dct:rights>
  </dcat:Distribution>

</rdf:RDF>

dcat:mediaType (DCAT)

DCAT URI

dcat:mediaType

Domain

dcat:Distribution

Value

dct:MediaType must be a MIME type of [IANA-MEDIA-TYPES]

Requirement Level

conditional, required if the distribution is a file accessible by a dcat:downloadURL

Cardinality

0..1

Description

Resource format of the data provided by the dcat:downloadURL

Usage Notes

Not required for distributions that have only a dcat:accessURL

Property dcat:mediaType of dcat:Distribution in Turtle

The mediaType is used to specify the file format of a download url
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Distribution ;
      dcat:downloadURL <http:swisstopo/file/1234/ld+json> ;
      dcat:mediaType <https://www.iana.org/assignments/media-types/application/ld+json> .

Property dcat:mediaType of dcat:Distribution in Rdf/xml

The mediaType is used to specify the file format of a download url
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dcat:downloadURL rdf:resource="http:swisstopo/file/1234/ld+json"/>
    <dcat:mediaType rdf:resource="https://www.iana.org/assignments/media-types/application/ld+json"/>
  </dcat:Distribution>

</rdf:RDF>

dct:format (DCAT)

DCAT URI

dct:format

Domain

dcat:Distribution

Value

dct:MediaTypeOrExtent

Requirement Level

Recommended, required if the distribution is accessible by a dcat:downloadURL

Cardinality

0..1

Description

This property refers to the file format of the distribution

Usage Notes

CV to be used: [VOCAB-EU-FILE-TYPE]

If a format is not available:

  1. media type [IANA-MEDIA-TYPES] should be used

  2. if required, please contact Geschäftsstelle OGD.

Property dct:format of dcat:Distribution in Turtle

The format is used for distributions that have no download url
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://data.tg.ch/api/v2/catalog/datasets/sk-stat-47/exports/csv>
   a dcat:Distribution ;
   dct:format  <http://publications.europa.eu/resource/authority/file-type/CSV> .

Property dct:format of dcat:Distribution in Rdf/xml

The format is used for distributions that have no download url
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://data.tg.ch/api/v2/catalog/datasets/sk-stat-47/exports/csv">
    <dct:format rdf:resource="http://publications.europa.eu/resource/authority/file-type/CSV"/>
  </dcat:Distribution>

</rdf:RDF>

dcat:byteSize (DCAT)

DCAT URI

dcat:byteSize

Domain

dcat:Distribution

Value

rdfs:Literal typed as xsd:decimal

Requirement Level

conditional, required if the distribution is accessible by a dcat:downloadURL

Cardinality

0..1

Description

Size of the data in bytes

Usage Notes

Should be an integer

Property dcat:byteSize of dcat:Distribution in Turtle

The size in bytes of a distribution is given as a decimal
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Distribution ;
    dcat:byteSize "698039"^^xsd:decimal .

Property dcat:byteSize of dcat:Distribution in Rdf/xml

The size in bytes of a distribution is given as a decimal
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dcat:byteSize rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">698039.0</dcat:byteSize>
  </dcat:Distribution>

</rdf:RDF>

dct:modified (DCAT)

DCAT URI

RDF-property dct:modified of dcat:Distribution

Domain

dcat:Distribution

Value

Date and time in ISO-8601 format

Requirement Level

conditional: required if the distribution has changed since its first publication.

Cardinality

0..1

Description

Date of the last change to the distribution. If this distribution has been changed several times, this corresponds to the date of the latest change.

Property dct:modified of dcat:Distribution in Turtle

The modified date is expected in ISO Format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/123>
  a dcat:Distribution ;
    dct:modified "2013-04-26T01:00:00Z"^^xsd:dateTime .

Property dct:modified of dcat:Distribution in Rdf/xml

The modified date is expected in ISO Format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-04-26T01:00:00Z</dct:modified>
  </dcat:Distribution>

</rdf:RDF>

dct:title (DCAT)

DCAT URI

dct:title

Domain

dcat:Distribution

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

mandatory

Cardinality

0..4 (one for each language)

Description

The title of the distribution

Usage Notes

The title is mandatory if the distribution contains only a part of the content covered by the dataset: for example if it contains only the data for one year, whereas the dataset covers several years in total.

Property dct:title of dcat:Distribution in Turtle

In Turtle strings are marked by the language they are in
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv>
  a dcat:Distribution ;
  dct:title "Hunde"@de, "Chien"@fr, "Dogs"@en, "Cani"@it.

Property dct:title of dcat:Dataset in Rdf/xml

In RDF the language is stored in the xml:lang attribute
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       xmlns:dcat="http://www.w3.org/ns/dcat#"
       xmlns:dc="http://purl.org/dc/terms/">

   <dcat:Distribution rdf:about="https://tierstatistik.identitas.ch/data/fig-dogs-pyr.csv">
      <dct:title xml:lang="de">Hunde</dct:title>
      <dct:title xml:lang="fr">Chien</dct:title>
      <dct:title xml:lang="en">Dogs</dct:title>
      <dct:title xml:lang="it">Cani</dct:title>
   </dcat:Distribution>

</rdf:RDF>

dct:description (DCAT)

DCAT URI

dct:description

Domain

dcat:Distribution

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

conditional: required if the distribution does not contain all the content of the dataset.

Cardinality

0..4 (one for each language)

Description

Title of the dataset in different languages

Usage Notes

Provide at least one of the languages en, de, fr, it. Markdown can be used in the descriptions

Property dct:description of dcat:Distribution in Turtle

Description of a distribution in Turtle
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123456>
  a dcat:Distribution ;
  dct:description "Railway noises at night"@en, "Eisenbahnlärm in der Nacht"@de .

Property dct:description of dcat:Distribution in Rdf/xml

Description of a distribution in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/123456">
    <dct:description xml:lang="en">Railway noises at night</dct:description>
    <dct:description xml:lang="de">Eisenbahnlärm in der Nacht</dct:description>
  </dcat:Distribution>

</rdf:RDF>

dct:language (DCAT)

DCAT URI

dct:language

Domain

dcat:Distribution

Value

ISO 639-1 two-letter code

Requirement Level

optional

Cardinality

0..n

Description

Languages in which this distribution is available.

Usage Notes

If the distribution is language independent, this can be left out. Only the languages « de », « fr », « en », « it » are currently imported to opendata.swiss

Property dct:language of dcat:Distribution in Turtle

The language of a distribution
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123>
  a dcat:Distribution ;
  dct:language "fr".

Property dct:language of dcat:Distribution in Rdf/xml

The language of a distribution
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/123">
    <dct:language>fr</dct:language>
  </dcat:Distribution>

</rdf:RDF>

dct:identifier (DCAT)

DCAT URI

dct:identifier

Domain

dcat:Distribution

Value

rdfs:Literal http://www.w3.org/TR/rdf-schema/#ch_literal

Requirement Level

mandatory

Cardinality

0..1

Description

Identifier of the distribution in the source system

Property dct:identifier of dcat:Distribution in Turtle

A dcat:Distribution with a dct:identifier in RDF
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/123567>
  a dcat:Distribution ;
  dct:identifier "ch.bafu.laerm-bahnlaerm_nacht" .

Property dct:identifier of dcat:Distribution in Rdf/xml

A dcat:Distribution with a dct:identifier in RDF
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       xmlns:dcat="http://www.w3.org/ns/dcat#"
       xmlns:dc="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/123567">
    <dct:identifier>ch.bafu.laerm-bahnlaerm_nacht</dct:identifier>
  </dcat:Distribution>

</rdf:RDF>

dct:coverage (DCAT)

DCAT URI

dct:coverage

Domain

dcat:Distribution

Value

dct:LocationPeriodOrJurisdiction, see http://dublincore.org/documents/2012/06/14/dcmi-terms/?v=terms#LocationPeriodOrJurisdiction

Requirement Level

optional

Cardinality

0..n

Description

Distributions can be marked by a location or time period (for example, one for each canton, one for each year, etc.)

Usage Notes

This property is a string. When it is used to indicate a date, a custom format can be used.

Property dct:coverage of dcat:Distribution in Turtle

Coverage can be a date or a location: it does not have to be an isodate, but can be any date format
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://swisstopo/distribution/1235>
  a dcat:Distribution ;
    dct:coverage "2021-04-26" .

Property dct:coverage of dcat:Distribution in Rdf/xml

Coverage can be a date or a location: it does not have to be an isodate, but can be any date format
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="https://swisstopo/distribution/1235">
    <dct:coverage>2021-04-26</dct:coverage>
  </dcat:Distribution>

</rdf:RDF>

dct:license (DCAT)

DCAT URI

dct:license

Domain

dcat:Distribution

Value

dct:LicenseDocument

Requirement Level

Mandatory

Cardinality

1..1

Description

The terms of use indicates for what purpose and in what context the data of a distribution can be used: for commercial or for non commercial purposes. Does it need to be referenced, when it is used? Must permission be obtained for commercial use. These conditions are included in the terms of use statements. See the list below for the exact values.

Usage Notes

Terms of use are no longer referenced under dct:rights, but under dct:license.

Exception: If other licenses, such as CC-licenses, are used for the dataset besides the terms of use, they must be referenced under dct:rights. Only the terms of use from the list below are displayed on opendata.swiss. If other licenses are included, they should be referenced under dct:rights to pass on to the portal data.europa.eu.

Terms of use values to be used: DCAT-AP CH license vocabulary

This field ensures compatibility to other metadata standards such as DCAT-AP.

Values acceptable for opendata.swiss
http://dcat-ap.ch/vocabulary/licenses/terms_open
http://dcat-ap.ch/vocabulary/licenses/terms_by
http://dcat-ap.ch/vocabulary/licenses/terms_ask
http://dcat-ap.ch/vocabulary/licenses/terms_by_ask
Deprecated: Values acceptable for opendata.swiss
NonCommercialAllowed-CommercialAllowed-ReferenceNotRequired
NonCommercialAllowed-CommercialAllowed-ReferenceRequired
NonCommercialAllowed-CommercialWithPermission-ReferenceNotRequired
NonCommercialAllowed-CommercialWithPermission-ReferenceRequired
Values not acceptable for opendata.swiss
NonCommercialAllowed-CommercialNotAllowed-ReferenceNotRequired
NonCommercialAllowed-CommercialNotAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialNotAllowed-ReferenceNotRequired
NonCommercialNotAllowed-CommercialNotAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialAllowed-ReferenceNotRequired
NonCommercialNotAllowed-CommercialAllowed-ReferenceRequired
NonCommercialNotAllowed-CommercialWithPermission-ReferenceNotRequired
NonCommercialNotAllowed-CommercialWithPermission-ReferenceRequired

Property dct:license of dcat:Distribution in Turtle

the license statement comes from a controlled vocabulary
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg>
   a dcat:Distribution ;
   dct:license <http://dcat-ap.ch/vocabulary/licenses/terms_by> .

Property dct:license of dcat:Distribution in Rdf/xml

the license statement comes from a controlled vocabulary
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dct="http://purl.org/dc/terms/">

  <dcat:Distribution rdf:about="http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg">
    <dct:license rdf:resource="http://dcat-ap.ch/vocabulary/licenses/terms_by"/>
  </dcat:Distribution>

</rdf:RDF>

foaf:page (DCAT)

DCAT URI

foaf:page

Domain

dcat:Distribution

Value

foaf:Document

Requirement Level

Optional

Cardinality

0..n

Description

documentation

Usage Notes

This property refers to a page or document about this Distribution.

Property foaf:page of dcat:Distribution in Turtle

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://bag/covid-19> a dcat:Distribution ;
          foaf:Document <https://www.covid19.admin.ch/api/data/documentation#data-context-api> .

Property foaf:page of dcat:Distribution in Rdf/xml

<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">

  <dcat:Distribution rdf:about="https://bag/covid-19">
    <foaf:Document rdf:about="https://www.covid19.admin.ch/api/data/documentation#data-context-api"/>
  </dcat:Distribution>

</rdf:RDF>

dcat:temporalResolution (DCAT)

DCAT URI

dcat:temporalResolution

Domain

dcat:Distribution

Value

xsd:duration https://www.w3.org/TR/xmlschema11-2/#duration

Requirement Level

Optional

Cardinality

0..1

Description

Minimum time period resolvable in the dataset distribution.

Usage Notes

If the dataset is a time-series this should correspond to the spacing of the items in the series. For other kinds of dataset, this property will usually indicate the smallest time difference between items in the dataset.

Usage Notes

Alternative temporal resolutions might be provided in different dataset distributions.

Property dcat:temporalResolution of dcat:Distribution in Turtle

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://swisstopo/opendata/123>
  a dcat:Distribution ;
  dcat:temporalResolution "P1D"^^xsd:duration .

Property dcat:temporalResolution of dcat:Distribution in Rdf/xml

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dcat="http://www.w3.org/ns/dcat#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

   <dcat:Distribution rdf:about="https://swisstopo/opendata/123">
      <dcat:temporalResolution rdf:datatype="http://www.w3.org/2001/XMLSchema#duration">P1D</dcat:temporalResolution>
   </dcat:Distribution>
</rdf:RDF>

dcat:accessService (DCAT)

DCAT URI

dcat:accessService

Domain

dcat:Distribution

Value

dcat:DataService (Class: Data Service)

Requirement Level

Optional

Cardinality

0..n

Description

This property refers to a data service that gives access to the distribution of the Dataset.

Usage Notes

The class dcat:DataService is currently not implemented in opendata.swiss and will therefore not be imported. However, if the property dcat:accessService exists in the catalogue, it will be imported and forwarded to data.europa.eu.

Property dcat:accessService of dcat:Distribution in Turtle

@prefix dcat: <http://www.w3.org/ns/dcat#> .

<https://swisstopo/opendata/123>
  a dcat:Distribution ;
  dcat:accessService <https://swisstopo/data/123> .

<https://swisstopo/data/123>
  a dcat:DataService .

Property dcat:accessService of dcat:Distribution in Rdf/xml

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:dcat="http://www.w3.org/ns/dcat#">

        <rdf:Description rdf:about="https://swisstopo/opendata/123">
                <rdf:type rdf:resource="http://www.w3.org/ns/dcat#Distribution"/>
                <dcat:accessService rdf:resource="https://swisstopo/data/123"/>
        </rdf:Description>

        <rdf:Description rdf:about="https://swisstopo/data/123">
                <rdf:type rdf:resource="http://www.w3.org/ns/dcat#DataService"/>
        </rdf:Description>
</rdf:RDF>