HUPO-PSI / psi-mi-CV

Molecular Interactions Controll Vocabulary
Creative Commons Attribution 4.0 International
4 stars 4 forks source link

Some xrefs should be relationships #434

Closed cthoyt closed 3 years ago

cthoyt commented 3 years ago

Many terms seem to be annotating their types using formations like this:

[Term]
id: MS:1000005
name: sample volume
def: "Total volume of solution used." [PSI:MS]
xref: value-type:xsd\:float "The allowed value-type for this CV term."
is_a: MS:1000548 ! sample attribute
relationship: has_units UO:0000098 ! milliliter

This isn't typically how xrefs are used. I think it would be better to create a new [Typedef] for value-type that would allow a relationship like

relationship: MS:value_type xsd:float

cthoyt commented 3 years ago

I'm not exactly sure how this OBO document is created/edited since there aren't any contribution guidelines. I'd be willing to make a PR that would demonstrate this if it's okay to edit the OBO file directly

pporrasebi commented 3 years ago

Hi,

Thanks for the feedback. We have been defining xrefs in the way you indicate to support existing infrastructure. I realize this is not fully correct, but the change would most probably have knockdown effects on several of the tools and websites usign this CV. That said, I believe we should study the implications of the change and the potential benefits of having the OBO file properly formatted, so I would be fine with you creating your own branch and illustrating how the changes would work, if that's feasible. Then we can test in exisiting tools and see what would be its impact.

cthoyt commented 3 years ago

Hi @pporrasebi I'm sorry but it appears I've put this issue in the wrong PSI controlled vocabulary. This was actually an issue in PSI-MS. I've made a PR there (https://github.com/HUPO-PSI/psi-ms-CV/pull/50) to demonstrate. Would you like me to close this issue and open another one there? It seems there are quite a few more contributors there that might have opinions

pporrasebi commented 3 years ago

OK, I will close this issue here, discussion continues at https://github.com/HUPO-PSI/psi-ms-CV/pull/50.