VHP4Safety / glossary

Webpage with the VHP4Safety Glossary
https://glossary.vhp4safety.nl/
Other
1 stars 1 forks source link

propose and discuss "index.md" solution for resolvable IRIs #56

Closed egonw closed 2 months ago

egonw commented 2 months ago

Problem

Current glossary IRIs (the technical term for the glossary term URLs) are like this: https://glossary.vhp4safety.nl/#VHP0000005

But the glossary landing page is the README.md and not the glossary.md.

Solution

I propose to rename the glossary.md to index.md.

Advantages:

Disadvantage:

What needs to be done

  1. rename the glossary.md to index.md
  2. add @id="VHP000xxxx" attributes to the ontology term <td> HTML elements

If you like this proposal, add a "thumbs up". If you have a better idea, use a "thumbs down" and leave a better solution in the comment of this issue.

marvinm2 commented 2 months ago

I think it is a great idea! This can then be used then for e.g. service annotation/applicability/purpose/origin/etc that directly would link to the description etc. If other vocabularies/ontologies would not fit

ozancinar commented 2 months ago

I agree with the idea, we can try it. When the user goes to glossary.vhp4safety.nl/, I think they already land on the page provided by glossary.md. The README.md file is the landing page on the repository, and I suspect users will frequently visit the repository rather than the webpage. So, it may not be a huge disadvantage if I am not missing something.

Another issue I've been thinking for some time is using a numerical order in the term IRIs. They are not much self explanatory, so maybe we can use another method for IRIs. I was thinking something like using the first couple of letters in every word in the term separated by an underscore. For example, we can use ben_mar_dos for the term "Bench mark dose". I am not sure if this is feasible, that is if the terms are completely mutually exhaustive if we use such a method. On top of this, I am not sure if this is an important issue but I just wanted to raise it.

egonw commented 2 months ago

When the user goes to glossary.vhp4safety.nl/, I think they already land on the page provided by glossary.md.

Actually, my bad. I did that this weekend to test, but forgot to revert. So, that feature is part of my proposal!

egonw commented 2 months ago

They are not much self explanatory, so maybe we can use another method for IRIs

@ozancinar, there is not clear consensus (but quite persistent in the OBO Foundry community), but there is a good reason to do this. They are meant to be not explanatory:

  1. any language like identifier is language specific and therefore less inclusive
  2. labels change and then acronyms in the IDS can start become even more confusing
  3. deprecation is harder: if the definition changes, the ID has to change too. with acronyms you can variants then, like ben_mar_dos en bench_mar_dos (or something like that), which is also not helping

See also "Lesson 4" of https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.2001414

egonw commented 2 months ago

Completed.