VHP4Safety / datamodel

Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

adopt LinkML #4

Open egonw opened 1 year ago

egonw commented 1 year ago

I think we should use LinkML: https://linkml.io/linkml/intro/overview.html#a-bridge-between-frameworks

This is can be used to collected arguments in favor and against.

egonw commented 1 year ago

For example, a chemical compounds could be:

id: https://purl.vhp4safety.nl/examples/chemicalCompound
name: chemicalCompound
prefixes:
  linkml: https://w3id.org/linkml/
imports:
  - linkml:types
default_range: string

classes:
  Compound:
    attributes:
      id_compound:
      lot_number:
      id_cas:
      isomeric_smiles:
      inchi:

I am not sure (yet) how to do this info: {key: yes, ref: Samples}