onto_map
Inspect a sample data file's schema against the loaded ontology to produce a JSON mapping config, ready for review and use with onto_ingest.
Instructions
Generate a mapping config by inspecting a data file's schema against the currently loaded ontology. Returns a JSON mapping that can be reviewed and passed to onto_ingest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Data format (auto-detected if omitted) | |
| data_path | Yes | Path to sample data file to generate mapping for | |
| save_path | No | Optional path to save the generated mapping config |