Closed matentzn closed 2 years ago
I kind of like having all of the different terms being namespaced. Plus, making this rely more on linkml means that fewer external programs will be easily able to use it
Intrinsically they could be, with the default sssom namespace
I think so far I have these arguments here to use enums:
Plus, making this rely more on linkml means that fewer external programs will be easily able to use it
How so? It would make it more usable. We could still generate whatever TSVs we have now. But in addition we would have
The main reason against is that if I want to "locally extend" the set of enums, the toolchain will not work (error will be thrown when trying to instantiate python model). But this could be seen as a benefit
Plus, making this rely more on linkml means that fewer external programs will be easily able to use it
How so? It would make it more usable. We could still generate whatever TSVs we have now. But in addition we would have
* a standard computable representation * autogeneration of python enums * constraints directly in the rendered json schema * ...
If that's the case, then I don't have any concerns! Thanks for clarifying.
We made a 360 on this issue and now have this managed her: https://github.com/mapping-commons/semantic-mapping-vocabulary
I am thinking of ditching https://github.com/mapping-commons/SSSOM/blob/master/sssom_vocab.tsv in favour of linkml enums. That would make it easier to use simple strings such as
HumanCurated
rather than the annoyingSSSOM:HumanCurated
.. There are so few terms in there, and even if we add 50, the schema can take it IMO. Any objections?