Add new slot derived_from#548
Conversation
gouttegd
left a comment
There was a problem hiding this comment.
Mostly looks good to me, but before this can be merged, either ts4nfdi/mapping-sameness-identifier#2 must be resolved or the PR must be amended to remove the bit about the appropriate CURIE/URI prefix for encoding MSIs as CURIEs being “left to the curators”.
|
@gouttegd thanks for the feedback. I agree that the introduction of MSIs here is problematic because of current unresolved discussions about MSI, so opted to remove references to it in the description. I also switched to using example.com dummy URI prefixes in the examples |
|
@matentzn ready for your final review |
matentzn
left a comment
There was a problem hiding this comment.
Agree in principle with all this, but some quick fixes and RFCs
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
|
sorry nico, I deleted a comment about fixing the word |
gouttegd
left a comment
There was a problem hiding this comment.
A few last details, but otherwise still good.
matentzn
left a comment
There was a problem hiding this comment.
Some nits but basically done
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
matentzn
left a comment
There was a problem hiding this comment.
Great work! Thank you!
Resolves #537
This PR adds a new field
derived_fromthat enables mapping inference (e.g., via chaining, inversion) to refer back to the mappings from which it was derived.This was motivated by needs from the NFDI use case, and also would enable nearly full subsumption of the SeMRA data model by the SSSOM data model.
It's been a few weeks since I posted the issue outlining this proposal and got some feedback on slack, so I thought it was time to make a concrete contribution.
docs/have been added/updated if necessary (added inference.md)make testhas been run locallyIf you are proposing a change to the SSSOM metadata model, you must
examples/see_alsofield of the linkml modelsee_alsofield of the linkml modelsrc/docs/spec-models.md) accordinglyImplementations
derived_fromcthoyt/sssom-pydantic#108derived_fromgouttegd/sssom-java#19