library/dialect is part of SWI-Prolog's home, whose LICENSE at the home's root
states SWI-Prolog's own licence. The files below are under the licence
named above them, whose text follows them; a file's own header, where it
has one, states its grant, and any exception to it, in full.

========================================================================
License: LicenseRef-public-domain
Files:
  library/dialect/bim.pl
  library/dialect/bim.qlf
Copyright:
  Copyright (c) Public domain

--- public-domain ---

Most of the mentioned above files contain example code from a
documentation. All of the above files contain explicit notice
that these files are placed to public-domain by their
respective authors. Unfortunately, it does not mean that
these files are not subject to copyright in any jurisdiction.
These files contain one of the following notices:

This code is in the public domain and has no copyright.

This example is in the public domain.

The libtai code is in the public domain, so you can use it in
your own programs.

========================================================================
License: LicenseRef-test-util-iso-public-domain
Files:
  library/dialect/eclipse/test_util_iso.pl
  library/dialect/eclipse/test_util_iso.qlf
Copyright:

--- LicenseRef-test-util-iso-public-domain ---

The header of library/dialect/eclipse/test_util_iso.pl reads:

    Author: Joachim Schimpf
    Year: 2013

    This code is given to the public domain "as is". Use at your own risk.
