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

put structured_pattern values from sheets2linkml in the syntax sub-slot #66

Closed turbomam closed 8 months ago

turbomam commented 1 year ago

sheets2linkml does honor structured_pattern column specifications

slot structured_pattern
name {firstname} {lastname}

but just serializes them like this:

structured_pattern: {firstname} {lastname}

I also tried using syntax as the column specification but got an error

My minimal desired outcome is that the cell contents are placed in a structured pattern's syntax slot:

structured_pattern:
  syntax: {firstname} {lastname}

It would be nice to allow specifications for interpolated and partial_match, too

turbomam commented 8 months ago

this can be accomplished by following the guidance about inner_keys, but maybe more documentation or examples are required.