Skip to main content

Code Lists and How to Use Them

For several properties in DCAT-AP-NO standard, you must refer to a code from a controlled vocabulary. For example, you must select a code from the EU's vocabulary Data Theme when specifying the theme for a dataset using the property dcat:theme. The codes are organized in lists or hierarchical structures and are named with a URI like any other RDF resource.

Tip: The standard provides for each property an overview of which controlled vocabularies must, should and may be used.

How to Specify Theme

Datasets and Data Services use the property dcat:theme to specify one or more themes relevant to the dataset.

For datasets, you must specify a code from one of the EU's vocabularies Data Theme. You should also specify a code from Los. Additionally, you can use codes from other vocabularies, such as EuroVoc from the EU, but this is optional.

Note: In the examples below, we only show the use of codes from one vocabulary at a time, but you can naturally use codes from several vocabularies simultaneously.

Data Theme

Information about Data ThemeOverview of all codesURI to use in your description
Go to op.europa.euGo to op.europa.euhttp://publications.europa.eu/resource/authority/data-theme/XXXX

This is a relatively small code list that contains some very general themes.

Examples of codes from Data Theme

CodeExplanationURI to use in your description
ECONEconomy and financehttp://publications.europa.eu/resource/authority/data-theme/ECON
EDUCEducation, culture and sporthttp://publications.europa.eu/resource/authority/data-theme/EDUC
TECHScience and technologyhttp://publications.europa.eu/resource/authority/data-theme/TECH

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . # A dataset about economy and finance <https://example.org/datasett1> a dcat:Dataset ; dcat:theme <http://publications.europa.eu/resource/authority/data-theme/ECON> . # A dataset about education <https://example.org/datasett2> a dcat:Dataset ; dcat:theme <http://publications.europa.eu/resource/authority/data-theme/EDUC> . # A dataset about education as well as technology <https://example.org/datasett3> a dcat:Dataset ; dcat:theme <http://publications.europa.eu/resource/authority/data-theme/EDUC> , <http://publications.europa.eu/resource/authority/data-theme/TECH> .

Los

Los is a common vocabulary that is thematically organized to categorize and describe public services and resources.

Information about LosOverview of all codesURI to use in your description
DocumentationGo to psi.norge.nohttps://psi.norge.no/los/tema/XXXX
https://psi.norge.no/los/ord/XXXX

Examples of codes from Los

CodeExplanationURI to use in your description
NaturforvaltningNature managementhttps://psi.norge.no/los/tema/naturforvaltning
Inkluderende arbeidslivInclusive employmenthttps://psi.norge.no/los/ord/inkluderende-arbeidsliv
SkattTaxeshttps://psi.norge.no/los/tema/skatt
Veg og vegreguleringRoads and road regulationhttps://psi.norge.no/los/tema/veg-og-vegregulering

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . # A dataset about taxes <https://example.org/datasett1> a dcat:Dataset ; dcat:theme <https://psi.norge.no/los/tema/skatt> .

EuroVoc

EuroVoc is a large thesaurus (hierarchy) with many codes organized in a hierarchical structure.

Information about EuroVocOverview of all codesURI to use in your description
Go to op.europa.euGo to op.europa.euhttp://eurovoc.europa.eu/XXXX

Examples of codes from EuroVoc

CodeExplanationURI to use in your description
4522Maritime transporthttp://eurovoc.europa.eu/4522
2312Energy supplyhttp://eurovoc.europa.eu/2312
854Equivalence of diplomashttp://eurovoc.europa.eu/854
c_61b6fae1Urban statisticshttp://eurovoc.europa.eu/c_61b6fae1

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . # Dataset about deep sea fishing <https://example.org/datasett1> a dcat:Dataset ; dcat:theme <http://eurovoc.europa.eu/2306> .

For information about the code "deep-sea fishing," see this page (op.europa.eu).

How to Specify Coverage Area

We use the property dct:spatial to indicate a coverage area, that is, a geographical area that the dataset covers. If the value exists in one of the EU vocabularies, these should be used; if not, values from GeoNames should be used.

EU Vocabularies

Information about the vocabularyOverview of all codesURI to use in your description
Continents (op.europa.eu)Continents (op.europa.eu)http://publications.europa.eu/resource/authority/continent/XXXX
Countries and territories (op.europa.eu)Countries and territories (op.europa.eu)http://publications.europa.eu/resource/authority/country/XXX
Places (op.europa.eu)Places (op.europa.eu)http://publications.europa.eu/resource/authority/place/XXXX

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset that geograpically covers Europe <https://example.org/datasett1> a dcat:Dataset ; dct:spatial <http://publications.europa.eu/resource/authority/continent/EUROPE> . # A dataset that geograpically covers Norway <https://example.org/datasett2> a dcat:Dataset ; dct:spatial <http://publications.europa.eu/resource/authority/country/NOR> . # A dataset that geograpically covers the place Tromsø <https://example.org/datasett3> a dcat:Dataset ; dct:spatial <http://publications.europa.eu/resource/authority/place/NOR_TOS> .

GeoNames

Information about GeoNamesURI to use in your description
https://www.geonames.org/https://www.geonames.org/XXXX

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset that geograpically covers Brønnøysund <https://example.org/datasett1> a dcat:Dataset ; dct:spatial <https://www.geonames.org/3159954> . # A dataset that geograpically covers Jotunheimen and Rondane national park <https://example.org/datasett2> a dcat:Dataset ; dct:spatial <https://www.geonames.org/3150707> , <https://www.geonames.org/3141389> .

How to Specify License

We use the property dct:license to indicate which license applies to a catalog, dataset, data service, or distribution. The value should be chosen from the EU's controlled vocabulary License.

Information about LicenseOverview of all codesURI to use in your description
Go to op.europa.euGo to op.europa.euhttp://publications.europa.eu/resource/authority/licence/XXXX

Examples of Codes from License

CodeExplanationURI to use in your description
CC0Creative Commons CC0 1.0 Universalhttp://publications.europa.eu/resource/authority/licence/CC0
CC_BY_4_0Creative Commons Attribution 4.0 Internationalhttp://publications.europa.eu/resource/authority/licence/CC_BY_4_0
CC_BYND_4_0Creative Commons Attribution–NoDerivs 4.0 Internationalhttp://publications.europa.eu/resource/authority/licence/CC_BYND_4_0

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset with CC0 license <https://example.org/datasett1> a dcat:Dataset ; dct:license <http://publications.europa.eu/resource/authority/licence/CC0> .

How to Specify Format

We use the property dct:format to indicate which format a data service or distribution offers. The value should be chosen from the EU's controlled vocabulary File Type.

Information about File TypeOverview of all codesURI to use in your description
Go to op.europa.euGo to op.europa.euhttp://publications.europa.eu/resource/authority/file-type/XXXX

Examples of Codes from File Type

CodeURI to use in your description
JSONhttp://publications.europa.eu/resource/authority/file-type/JSON
XMLhttp://publications.europa.eu/resource/authority/file-type/XML
CSVhttp://publications.europa.eu/resource/authority/file-type/CSV
YAMLhttp://publications.europa.eu/resource/authority/file-type/YAML
TXThttp://publications.europa.eu/resource/authority/file-type/TXT
PDFhttp://publications.europa.eu/resource/authority/file-type/PDF

Examples of Use

With distribution:

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset that is distributed in a CSV format <https://example.org/datasett1> a dcat:Dataset ; dcat:distribution <https://example.org/distribution1> . <https://example.org/distribution1> a dcat:Distribution ; dct:format <http://publications.europa.eu/resource/authority/file-type/CSV> .

With data service:

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset made available through an API that offers JSON <https://example.org/datasett1> a dcat:Dataset . <https://example.org/dataservice1> a dcat:DataService ; dcat:servesDataset <https://example.org/datasett1> ; dct:format <http://publications.europa.eu/resource/authority/file-type/JSON> .

How to Specify Language

We use the property dct:language to indicate which language the dataset is in. The value should be chosen from the EU's controlled vocabulary Language.

Information about LanguageOverview of all codesURI to use in your description
Go to op.europa.euGo to op.europa.euhttp://publications.europa.eu/resource/authority/language/XXXX

Examples of Codes from Language

CodeExplanationURI to use in your description
NNONynorskhttp://publications.europa.eu/resource/authority/language/NNO
NBOBokmålhttp://publications.europa.eu/resource/authority/language/NOB
NORNorwegianhttp://publications.europa.eu/resource/authority/language/NOR
SMISamihttp://publications.europa.eu/resource/authority/language/SMI
SMENorthern Samihttp://publications.europa.eu/resource/authority/language/SME
SMJLule Samihttp://publications.europa.eu/resource/authority/language/SMJ
SMASouthern Samihttp://publications.europa.eu/resource/authority/language/SMA
FKVKvenhttp://publications.europa.eu/resource/authority/language/FKV
ENGEnglishhttp://publications.europa.eu/resource/authority/language/ENG

Examples of Use

@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dct: <http://purl.org/dc/terms/> . # A dataset Datasett that is available in Norwegian Bokmål, Norwegian Nynorsk and Northern Sami <https://example.org/datasett1> a dcat:Dataset ; dct:language <http://publications.europa.eu/resource/authority/language/NOB> , <http://publications.europa.eu/resource/authority/language/NNO> , <http://publications.europa.eu/resource/authority/language/SME> . # A dataset Datasett that is available in English <https://example.org/datasett2> a dcat:Dataset ; dct:language <http://publications.europa.eu/resource/authority/language/ENG> .