skohub-io / skohub-vocabs

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

Support skos:related #105

Closed acka47 closed 3 years ago

acka47 commented 3 years ago

See https://github.com/skohub-io/skohub-vocabs/issues/103#issuecomment-720641027

acka47 commented 3 years ago

I took a look at it. I can see it in the JSON and already in the HTML which is good. However, I can currently only see it at the property where the triple is added. As skos:related is an owl:SymmetricProperty (along with skos:relatedMatch, skos:closeMatch and skos:exactMatch) I think it should be shown (and added to the JSON) for both concepts that are linked by it. I hope this can easily be added based on GraphQL...

acka47 commented 3 years ago

I just now noticed, in addition to the missing support of bidirectionality, that the "Related" field is shown for every concept, even if there isn't a skos:related statement, for example:

image

This should be handled like skos:scopeNote or skos:defintiion where the heading is only shown when a respective statement actually exists for a given concept.

acka47 commented 3 years ago

Unintentionally merged into master, still to be reviewed.

acka47 commented 3 years ago

Looks fine now on test. +1

acka47 commented 3 years ago

Deployed to production. Closing.