Workaround lack of support for static multifile predicates in XSB and Qu-Prolog when running the `diagrams` tool