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

Concepts on non-top hierarchy levels not loading for hash URI vocab #307

Closed
acka47 opened this issue May 29, 2024 · 3 comments
Closed

Concepts on non-top hierarchy levels not loading for hash URI vocab #307

acka47 opened this issue May 29, 2024 · 3 comments
Assignees

Comments

@acka47
Copy link
Member

acka47 commented May 29, 2024

See https://skohub.io/hbz/lobid-vocabs/heads/rpbImprovements/purl.org/lobid/rpb.html and click on any concept on second or third level. This is really strange as it works for the equivalent NWBib vocab. The only difference between the two I could quickly see is that one uses skos:broader while the other uses skos:narrower.

Edit: The error is also in the master version: https://skohub.io/hbz/lobid-vocabs/heads/master/purl.org/lobid/rpb.html

@acka47
Copy link
Member Author

acka47 commented May 29, 2024

The only difference between the two I could quickly see is that one uses skos:broader while the other uses skos:narrower.

I removed all broaderstatements from the vocab so that it only has narrower: No change, see https://skohub.io/hbz/lobid-vocabs/heads/removeBroader/purl.org/lobid/rpb.html

@sroertgen
Copy link
Contributor

I think this is because skos:inScheme statements are missing for non-topLevel Concepts.

A quick test showed that after adding such a statement to a nested concept it is working like expected.

@acka47
Copy link
Member Author

acka47 commented Jun 3, 2024

I think this is because skos:inScheme statements are missing for non-topLevel Concepts.

Yes, that's it. Thanks! See https://skohub.io/hbz/lobid-vocabs/heads/master/purl.org/lobid/rpb.html.

I have opened skohub-io/skohub-shapes#21 to add an according check to the Shacl validation. Closing.

@acka47 acka47 closed this as completed Jun 3, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in SkoHub Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants