Just for info, just did a quick test: the digikam 'proprietary' database is a normal sqlite database that you can easily open and query in standard tools like duckdb. So pretty accessible, much better than some proprietary binary file, or using exif tools on 1000s of photos.