Tagging and themes for datasets
This page is for editors and site builders who classify datasets. A controlled list of themes makes a catalog
browsable and lets you map your themes to those of a national or European portal later. Exponential offers two
ways: the eztags extension (Tagging with eztags) and the
kernel's Selection datatype.
Contents
- Themes and keywords are different
- Option 1: eztags
- Option 2: a selection field
- Rules for a theme list
- Mapping to a portal's themes
Themes and keywords are different
| Themes | Keywords | |
|---|---|---|
| Who chooses the words | the data team, once | the editor, per dataset |
| How many | a short, fixed list | as many as useful |
| Purpose | browsing and filtering | search |
| DCAT term | dcat:theme | dcat:keyword |
| Datatype | eztags or ezselection | ezkeyword |
Option 1: eztags
eztags keeps a tag tree with synonyms, gives each tag a page that lists everything tagged with it, and offers
autocomplete in the edit form.
- Open Tags (
/tags/dashboard) and create a top-level tag "Data themes" with one child per theme. - Add synonyms where people use other words ("Transport" with the synonym "Mobility").
- Add a Tags field (
theme) to the dataset class and limit it to the "Data themes" subtree in its datatype options. - Tag each dataset; link the theme tag pages from the catalog page.
With Solr, tag clouds can be built from search (eztags TagCloudOverSolr)
(Search with ezfind and Solr).
Option 2: a selection field
When eztags is not active, add a Selection field (ezselection) named Theme with one option per theme, and tick
multiple selection if a dataset can have several. It is simple and fixed; it has no synonyms and no tag pages,
so you list datasets per theme with a template or a folder per theme.
Rules for a theme list
- Keep it short: a dozen to twenty themes is easy to scan.
- Name themes in plain language and translate them for each content language.
- Never rename a theme silently; announce changes, because re-users filter by them.
- Give every dataset at least one theme.
- Review the list once a year against Setup > Search statistics to see what people look for.
Mapping to a portal's themes
National and European portals often have their own theme lists. Keep a small mapping table (your theme, portal theme) in the description of the "Data themes" tag or in a page for the data team. If you later write a DCAT export template, it uses this table. Exponential does not ship any portal's vocabulary.
Related pages
- Tagging with eztags
- eztags
- Choosing datatypes
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.