Text this: Excitonic insulator candidate Ta2NiSe5 and related transition-metal compounds studied by resonant inelastic x-ray scattering