OCL Concepts Export into Iniz Format

I’ve done a little experimentation on converting from OCL to iniz CSV format. Here’s my Python Notebook using the CIEL’s COVID-19 Starter Set as an example and the resulting CSV (with its 86 columns :slight_smile:).

Some observations from my experimentation:

  • The CSV format is customized with special rules for column names
  • There are limitations on what can be represented in CSV format (e.g., controlling preferred names doubles the number of name columns)
  • The columns for the CSV format varies depending on which concepts are exported
  • The CSV can be optimized for humans (column ordering) and for Iniz (row ordering to minimize missing dependencies)

We could use a script like the one in my experiment to make it simple to generate a CSV from an OCL export wherever the full detail of the OCL export isn’t needed and a CSV format is preferred.

2 Likes