linkml / schema-automator

Automated assistance for the schema development lifecycle
https://linkml.io/schema-automator/
BSD 3-Clause "New" or "Revised" License
33 stars 12 forks source link

recapitulate Biolink schema via KGX->LinkML schema-automator importer: handle categories #103

Open sierra-moxon opened 1 year ago

sierra-moxon commented 1 year ago

schema-automator does a pretty good job already of converting KGX nodes and edges instance files to a LinkML YAML representation of the model. But it does get a little confused in translating "category" properties of nodes/edges to an instance of a Biolink class.

schemauto generalize-tsvs --infer-foreign-keys monarch-kg_nodes.tsv monarch-kg_edges.tsv
Screen Shot 2022-10-10 at 12 45 08 PM