We did this for iseal-core.csv last week, but forgot to do it here.
These are no longer living inside the CSVs themselves because it is
difficult to manage them as a long string of text in a column. They
now live in text files in data/controlled-vocabularies.
When we cache the output of partials we get duplicate elements be-
cause both ISEAL and FSC have "Scope", "Certificate", etc modules.
We need to use the cluster as an extra key for the partial cache
so these don't overlap.
See: https://gohugo.io/functions/partialcached/
I got rid of these when initially trying to group the elements for
each module together under their clusters, but actually now there
are less elements so we can keep this bubble style. A bonus is that
we don't need to figure out how to delimit by comma in Hugo's Go
templates (the last one is always tricky).
The `util/create-rdf.py` script is slightly out of date with the
latest changes in the repository. The paths to CSV and TTL files
need to be updated, as well as the namespace for the project.
On Linux and macOS we can run these scripts directly because they
have executable permissions and the shebang line points to a sane
Python, but on Windows only God can help us. Better to write the
slightly lamer invocation here with Python directly (even though
the slash style will be different)...
We are planning to remove the controlled vocabularies from the CSV
files so we should not expect that this column will exist. Instead,
check if there is a controlled vocabulary in the data directory.
The controlled vocabularies were already exported once using the
util/export-controlled-vocabularies.py script so we don't actually
need them in the CSVs anymore.