skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
36 stars 25 forks source link

URIs with hyphens are not supported #85

Closed acka47 closed 3 years ago

acka47 commented 4 years ago

I published the NWBib spatial classification with ~4,500 concepts via SkoHub: https://skohub.io/acka47/nwbib-spatial/heads/master/nwbib.de/spatial.html

As you can see, only the top level concepts are shown on the left-hand side with no possibility to expand the narrower concepts. The concepts themselves are there, though, see e.g. https://skohub.io/acka47/nwbib-spatial/heads/master/nwbib.de/spatial.html#Q61726649 or https://skohub.io/acka47/nwbib-spatial/heads/master/nwbib.de/spatial.html#33

acka47 commented 4 years ago

I am not sure whether I checked thouroughly enough with https://github.com/hbz/skohub-vocabs/pull/74 whether hirarchy can be expanded at all with hash URI vocabs...

acka47 commented 4 years ago

I tried it out to use slash URIs forthe vocab and it looks all the same: https://skohub.io/acka47/nwbib-spatial/heads/master/nwbib.de/spatial.html

acka47 commented 4 years ago

I took another look at it and I identified two problems:

I am renamed the issue accordingly. I think for now it is ok to require narrower statements but it would be good to only reuire either narrower or broader in the future. I'll open another issue for it.

acka47 commented 3 years ago

The hyphens haven't been the problem all the time. https://raw.githubusercontent.com/acka47/nwbib-spatial/99e50603819d9abf0a1edfb876bd323d2dee4e4d/nwbib-spatial.ttl built just fine, which includes https://nwbib.de/spatial#N4-7 with many skos:broader links pointing to it. Closing.