SWI-Prolog Did You Know Did you know? about nifty JoCaml style multithreading Search Documentation:
Predicate trie_insert/3