zazuko / cube-creator

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

Add All Metadata to Newly Created Predicates #1477

Open bequrios opened 9 months ago

bequrios commented 9 months ago

Is your feature request related to a problem? Please describe. If there is a new predicate created during CSV Mapping phase (e.g. https://environment.ld.admin.ch/foen/river_cross_profiles/gewissAdr) and afterwards during the Cube Designer phase, there is additional metadata given to this predicate in the Dimension property window like Name and Description, this information seems to be only used for creating SHACL Shapes.

Describe the solution you'd like I would expect, that by entering metadata to the predicates, some triples of the form

<https://environment.ld.admin.ch/foen/river_cross_profiles/gewissAdr> <schema:name> "GEWISS-Adr". <https://environment.ld.admin.ch/foen/river_cross_profiles/gewissAdr> <schema:description> "blabla".

would be created. I see that there is a problem with versioning, as the predicate has no version but the dimension property metadata is tied to a certain version of the cube.

Additional context One of the main arguments for Linked Data is the possibility to have the metadata directly besides the "real" data. And if the data provider goes all the way and adds some metadata to the predicates, this info should be available outside visualize.admin.ch as well.