-
Notifications
You must be signed in to change notification settings - Fork 0
Clarification of slots and slot_usage #290
Comments
@johanneswerner I understand your confusion ... this is not clear from documentation. LinkML allows you to define slots "on the fly" (so to speak) by using Does that make sense? cd @cmungall |
You can find out more about the schema language here: https://github.com/biolink/biolinkml Each of the constructs has its own URI with documentation, for example: https://w3id.org/biolink/biolinkml/meta/slot_usage This is quite minimal so let me try more of an elucidation! But first, I think your intuitions are on the right track, indeed the idea is to be able to reuse a generic field/property/slot and to refine and even over-ride it in a particular context. What you are getting tripped up by is a bit of a short term fix we made to temporarily simplify our schema: aec1e2b Thank you for your interest, I would love to discuss this more with you, I will post more info in this ticket later... |
Hi @johanneswerner. I've modified the schema to make it simpler (doesn't have a lot slot_usages). Does it make better sense to you now? |
Hello,
we are trying to figure out what the fields
slots
andslot_usage
in the yaml files represent.Elisha forwarded us this information
We are still struggling a bit to understand the concept.
We assume that slots are fields that are part of classes, where certain slots can be overridden by class definition in different source files (for instance
collection_date
is present inmixs.yaml
andnmdc.yaml
).Is this correct or is something different intended?
What is also unclear to us is how certain items can appear in
slot_usage
, but not inslots
(within the same class).Can you help us with our questions and in understanding the schema better?
Thank you very much!
The text was updated successfully, but these errors were encountered: