The gda-inspect-dict-file tool tests an existing XML dictionary file and (depending on command line options):
reports errors if the file can't be loaded or if saving it back produces a different file
lists all the pre-defined queries and creates .dot files for each of them