Did you know? SWI-Prolog has a Natural Language Processing (NLP) librarySearch Documentation:
SWI-Prolog owl logoPredicate predsort/3