SWI-Prolog Did You Know Did you know? SWI-Prolog tables can be shared between threads Search Documentation:
Predicate add_import_module/3