SWI-Prolog Did You Know Did you know? SWI-Prolog has probabilistic logic Search Documentation:
Predicate phrase_from_quasi_quotation/2