A question for prologista if there are any.
I two years ago I tried software to look for "magic squares", like this:
P O L O S
O C K A
L O T O K
ON AND
W A K A T
In the Prologue it should be, the idea is trivial. To record facts of the form:
word('P','O','L','O','Z'). And to make a request:
word(A1,A2,A3,A4,A5),word(A2,B1,...