linked-statistics / xkos

A SKOS extension for statistical classifications
35 stars 8 forks source link

Update xkos-best-practices.html #154

Closed dzkwsk closed 2 years ago

dzkwsk commented 2 years ago

add example concept association with creation or deletion of classification item

ChLaaboudi commented 2 years ago

Best practice would be to create a new xkos:Correspondence (new version).

If a there is an creation/deletion of an item, there are different scenarios 1) New version of the classification B1 (B2) is published, a new correspondence table between A and B2 is created. 2) The current version of the classification (B1) is updated with new /deleted items.
A new version of a correspondence table is created between A and B1. New items shall have a release number. Deleted items shall not be deleted but tagged as deprecated, with a release number.

dzkwsk commented 2 years ago

@ChLaaboudi during the validity period of a classification, we have considered that the notes related to the classification items can be changed but we have not considered the possibility of creating or deleting classification items while the classification is still in use. Indeed, we have considered the possibility of creation or deletion only when a revision of the classification takes place. (for example to replace NACE rev1 by NACE rev2). But if you have an example of versioning of a correspondence table, because of creation or deletion, during the validity of the classification we are interested that you send it to us.

ChLaaboudi commented 2 years ago

As example, we manage the NUTS (Nomenclature of territorial units for statistics) in one dataset that contains different ConceptSchemes (one per version: 2010, 2013, 2016, 2021).

Example of Correspondence table for 2016-2021 :2016_2021 a xkos:Correspondence; skos:prefLabel "Transposition between NUTS 2016 and NUTS 2021"; dct:created "2022-02-04T11:27:02"^^xsd:dateTime; dct:modified "2022-02-11T10:11:32"^^xsd:dateTime; xkos:madeOf :2016_2021_ES52, :2016_2021_ES63, :2016_2021_ES64, :2016_2021_HR04, :2016_2021_HR041, :2016_2021_HR046, :2016_2021_HR044, :2016_2021_HR045, :2016_2021_HR043, :2016_2021_HR042, :2016_2021_HR047, :2016_2021_HR048, :2016_2021_HR049, :2016_2021_HR04A, :2016_2021_HR04B, :2016_2021_HR04C, :2016_2021_HR04E, :2016_2021_BE100, :2016_2021_BE221, :2016_2021_BE222, :2016_2021_BE3, :2016_2021_BE321, :2016_2021_BE322, :2016_2021_BE324, :2016_2021_BE325, :2016_2021_BE326, :2016_2021_BE327, :2016_2021_CZ0, :2016_2021_EE006, :2016_2021_EE007, :2016_2021_EL421, :2016_2021_FRE, :2016_2021_FRF, :2016_2021_FRI, :2016_2021_FRJ, :2016_2021_HR04D, :2016_2021_ITG25, :2016_2021_ITG26, :2016_2021_ITG27, :2016_2021_ITG28, :2016_2021_ITG29, :2016_2021_UKK21, :2016_2021_UKK22, :2016_2021_UKN10, :2016_2021_UKN11, :2016_2021_UKN12, :2016_2021_UKN13, :2016_2021_UKN14, :2016_2021_UKN15, :2016_2021_UKN16, :2016_2021_ITG2A, :2016_2021_ITG2B, :2016_2021_ITG2C; xkos:compares http://data.europa.eu/nuts/scheme/2016, http://data.europa.eu/nuts/scheme/2021 .

Export (SPARQL-query) of the xkos:ConceptAssociations from :2016_2021 result (16).csv ]