onto_ingest
Parse CSV, JSON, NDJSON, XML, YAML, XLSX, or Parquet files into RDF triples and load into the ontology store. Optionally apply a mapping config for field-to-predicate control.
Instructions
Parse a structured data file (CSV, JSON, NDJSON, XML, YAML, XLSX, Parquet) into RDF triples and load into the ontology store. Optionally uses a mapping config to control field-to-predicate mapping.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "onto_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the data file (CSV, JSON, NDJSON, XML, YAML, XLSX, Parquet) | |
| format | No | Data format (auto-detected from extension if omitted): csv, json, ndjson, xml, yaml, xlsx, parquet | |
| mapping | No | Mapping config as JSON string or path to mapping JSON file | |
| base_iri | No | Base IRI for generated instances (default: http://example.org/data/) | |
| inline_mapping | No | If true, treat mapping as inline JSON (default: false = file path) |