Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 4 tasks
AdMSilvan opened this issue May 7, 2024 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@AdMSilvan
Copy link

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)

  • CSV Mapping
  • Transformation
  • Publishing
  • Other

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 AdMSilvan added the 🐛 bug Something isn't working label May 7, 2024
@AdMSilvan
Copy link
Author

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

@Rdataflow
Copy link
Contributor

@AdMSilvan thank you for reporting this one

@tpluscode how to test and DOD

  • consistent IRI between observations and observationConstraint
  • validation of observations are not longer violates on cubes:observedBy after republishing a cube

@tpluscode tpluscode moved this from Needs triage to Backlog in Cube Creator Development May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants