Troubleshooting: Bootstrapping the MDR over an existing ShowVoc instance: dealing with the "UNKNOWN"

The mysterious UNKNOWN resources

Upon accessing any ShowVoc or VocBench version (>= 15.0 and 6.0 respectively) you will notice the introduction of a revamped MDR and, most importantly, that this new MDR is now a central component in the system, directly storing all relevant information about datasets, versions, distributions, available downloads, etc..

If you are already a ShowVoc/VocBench user, you will probably have lots of existing projects and their reflection in the MDR will have generated some strange "UNKNOWN" and "unknown" strings, which can also be seen in the title of the project, when it is accessed by users. Why that? Well, the reason is twofold:

by first, why "unknown"? because the new version of the MDR component and of its associated eponymous vocabulary introduced new concepts, some of them coming from the DCAT-3 vocabulary and others being coined within MDR itself, which were not represented in the previous versions of the platforms. As a consequence, in lack of information, we had fields to fill with unknown values. However, and here we come to the second point, we did indeed bootstrap them with some basic values, e.g. the notion of DatasetArchetype (i.e. the "abstract" notion of a dataset, not bound to any version or distribution of it) has been introduced as a mandatory element and its title has been bootstrapped with the title of the project from which it originated, with the addition of that UNKNOWN string.

Then why adding that "UNKNOWN" string to all the titles? That's because that information is still incomplete: before these new releases, you might have mapped different versions of a dataset onto different projects, and there was nothing binding them together under a common umbrella. The bootstrapping procedure of the new MDR for aligning data to the new version has thus automatically generated a new DatasetArchetype for each existing project. The important information that you can add as an administrator, knowledgeable of the nature of each project, is to bind different projects that represent different versions of the same dataset or different distributions of the same versions of it under the common umbrella of the same dataset. What should typically happen is that one generated DatasetArchetype will be kept and its title will be corrected to a proper one, while those generated from other projects representing different versions or distributions of the same dataset will be merged into the first one. So, we opted for an explicit marker for users, raising the alert flag for grounding that additional information with values (whereas leaving the generated title with the project name would have not clarified that some input is needed).

A guide to reorganizing your pre-existing data

We provide here a simple guide on the actions to perform in order to organize your pre-existing set of projects into a well managed set of datasets.

Before starting, some info about the terminology being adopted, summarizing info that is sparse across the manuals:

With the double objective of:

we allowed for both possibilities, treated seamlessly in VB/SV, i.e.:

Mixed configurations are also allowed, e.g. dataset A, with versions Av1, Av2, Av3 of which Av1 is in project AP1 and Av2 and Av3 stored in project AP2. What will happen is that there will be a single dataset (say A) listing the three versions, and the user will see listed all of Av1, Av2, Av3, seamlessly under A. Whenever the user switches from a version to one another, if the project needs to be changed, VB and SV will do that transparently, without any additional action required by the them.

Obviously, what we expect is that "a regime", and in lack of very particular needs such as the OWL–>SKOS mentioned above, users would simply go for the first case: all versions hosted on the same project. Yet, it remains open to all possibilities.

The recipe

As a preliminary step, let's clear out the meaning of the various "UNKNOWN" and "unknown" and what is shown in the UI

To clean up your data: from the metadata registry, you can perform several operations:

Photo finish

This is how multiple versions appear in the MDR: while this is what can be seen from inside the project page in ShowVoc: You can observe three main elements