onto_map
Generates a JSON mapping config by comparing a data file's schema to the loaded ontology, ready for review and subsequent ingestion.
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 |
|---|---|---|---|
| data_path | Yes | Path to sample data file to generate mapping for | |
| format | No | Data format (auto-detected if omitted) | |
| save_path | No | Optional path to save the generated mapping config |