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/
41 stars 5 forks source link

is there a plan to support definition of 'linkML.rules' ? #140

Open proccaserra opened 4 weeks ago

proccaserra commented 4 weeks ago

ancillary question:

is there a roadmap for schemasheet ?

thx

cmungall commented 3 weeks ago

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

Could be generalized to

(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.

So long as a

proccaserra commented 3 weeks ago

Thank you @cmungall

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.

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)