A mapping file, compiled to SQL
Each rule names a source table, a target family, lookups for kind and class, and templates for ids and parents. An unknown key is an error, with a hint for a near miss. --dry-run prints the SQL and writes nothing.
npx tsx bin/locusq-convert.ts mappings/<your-mapping>.yaml --dry-run # print the SQL, write nothing
npx tsx bin/locusq-convert.ts mappings/<your-mapping>.yaml # convert
npx tsx bin/locusq-convert.ts mappings/<your-mapping>.yaml --report counts.json