zazuko / cube-creator

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

Domain of observedBy in cube constraint does not correspond to the domain of the organization in the observation #1511

Open AdMSilvan opened 5 months ago

AdMSilvan commented 5 months ago

Describe the bug The domain (sh:in) of https://cube.link/observedBy in the cube constraint does not correspond to the domain of the organization in the observation. The sh:in domains use the themed namespaces, whereas the observations use ld.admin.ch This causes an error when validating against the cube constraint for every observation.

Affected functionalities (all that apply)

Relevant links Example dataset cube constraint: https://culture.ld.admin.ch/sfa/stapfer-enquete-1799/3/shape/#blank-17 Example observation: https://culture.ld.admin.ch/sfa/stapfer-enquete-1799/3/observation/Schule/917-3

To Reproduce validate example dataset with barnard59 / compare the two examples.

Expected behavior Cube creator should generate shapes with the correct domain for cube:observedBy

AdMSilvan commented 5 months ago

@Rdataflow discovered this bug so feel free to add further context if necessary

Rdataflow commented 5 months ago

@AdMSilvan thank you for reporting this one

@tpluscode how to test and DOD