You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you say a bit more about your use case? Rules are a bit analogous to complex OWL axioms using ROBOT templates - you're better off using a data entry form is built for nested structures (i.e directly author in yaml and weave in to schemasheet generated yaml)
However, I can envision scenarios where the schemasheet template editor defines some broad rule patterns, and then the schema author can add these in rows.
E.g
if country='US' then code='+1'
if country='UK' then code='+44'
...
Could be generalized to
if country='{country}' then code='{code}'
(I'm using pseudocode but it should be clear how this maps to linkml rules yaml)
This could go in the header of a country-phone-rules tab, and the person maintaining the schema could have a list of pairs
Is this what you had in mind?
Roadmap: Currently schemamap isn't tracked as part of the main linkml milestones/roadmap, as the functionality is relatively stable, so this issue tracker remains the best way to get a sense of priorities, but we could decide to track it as part of core.
The use case would be to express more complex rules, where a condition met in a slot/attribute of one Class has consequences on the value set associated to a slot in another Class.
if slotA='{Class1.slotA}', then slotB='{Class2.slotB}'
But linkml.Rules can only be set (as far as I know) over the attributes of a single Class, hence the question.
I was wondering if rules could then be defined in a separated file and imported (like enums or slot)
ancillary question:
is there a roadmap for schemasheet ?
thx
The text was updated successfully, but these errors were encountered: