linkml / schemasheets

Structure your data in a FAIR way using google sheets or TSVs. These are then converted to LinkML, and from there other formats
https://linkml.io/schemasheets/
43 stars 5 forks source link

add slot usage on identifier column? #26

Closed turbomam closed 1 year ago

cmungall commented 2 years ago

can you give more context?

turbomam commented 2 years ago

I think we discussed this somewhere else, so I'll try to look that up. Maybe even another GH issue!

I would like to make slot usage assertions about columns that have been set as identifiers at the schema level. The use case is saying where slots should appear as columns in DataHarmonizer. We have been doing that with assertions but will be switching to slot groups and ranks.

Assume I

LinkML doesn't like that, because then I have an id slot on class biosample (inherited from named thing) and biosample_id from the slot usage.

cmungall commented 2 years ago

are you trying to deliberately override the name to rename id and biosample_id?

I suspect what the issue is here is that the slot_usage causes a name mangling - can you say where this manifests?

turbomam commented 1 year ago

this issue overlaps with the broader LinkML questions

sierra-moxon commented 1 year ago

we now have compound keys. closing as complete, please reopen if necessary. :)