who-icatx / whofic-models

Information models used to represent artifacts for WHO-FIC classifications
0 stars 0 forks source link

Questions about the modeling in LinkML of the Synonym and Narrower instances #17

Open csnyulas opened 4 weeks ago

csnyulas commented 4 weeks ago

What does it mean to have a colon (:) after the name of Synonym and Narrower in the IndexType enum, but not having followed with any additional information? https://github.com/who-icatx/whofic-models/blob/9bca57d6f893b8191eec5ed204c4fd352cd5e248/linkMLmodels/metamodel.yaml#L212-L213

Do we really need the colons there?

Can we have some additional information specified after the colon? If yes, what kind of information?

Does the presence of the colon have any effect on how the name of the instance is generated? (i.e. could be related to why http://who.int/icd#IndexType#Synonym contains two hashes?)

samsontu commented 3 weeks ago

I was following the syntax of the example: image Deleting the colons results in the two string being concatenated into a single instance. Adding "-" in front or ":" at the end results in the same representation of individuals with double #s. I think such URIs are illegal. Yes, you can add additional information to enum values, such as descriptions and ontology terms. See image