Did you know? SWI-Prolog supports DDE on WindowsSearch Documentation:
SWI-Prolog owl logoPredicate term_expansion/2