zazuko / cube-creator

A tool to create RDF cubes from CSV files
GNU Affero General Public License v3.0
14 stars 2 forks source link

Updating Shared Dimension mappings: "<...> a prov:Entity" triples not correctly deleted #1314

Closed FabianCretton closed 1 year ago

FabianCretton commented 2 years ago

This happened on different projects: After having a first mapping to a shared dimension, we did create a new shared dimension and re-create the mapping. After that, when exporting the .trig file of the project, we can see that some former triples are still there.

This is not causing any problem that I am aware of, as I do not know how that 'a prov:Entity' is used. But there seems to be some "mess" during RDF updates, which is certainly not something good.

Example: In one project, the mapping was done on 3 different versions of the shared dimension, but we can see that all triples are still in the .trig:

<https://ld.admin.ch/cube/dimension/ghg_emission_sectors_co2_ordinance_test4_gen_fab/1> a prov:Entity .
<https://ld.admin.ch/cube/dimension/ghg_emission_sectors_co2_ordinance_test3_gen_fab/1> a prov:Entity .
<https://ld.admin.ch/cube/dimension/ghg_emission_sectors_co2_ordinance/1> a prov:Entity .