Crossword puzzle
Here are six English words:
word(abalone,a,b,a,l,o,n,e). word(abandon,a,b,a,n,d,o,n). word(enhance,e,n,h,a,n,c,e). word(anagram,a,n,a,g,r,a,m). word(connect,c,o,n,n,e,c,t). word(elegant,e,l,e,g,a,n,t).Download knowledge base.
Write a predicate crosswd/6
that computes all the
different ways of how to fill the grid. The first three
arguments should be the vertical words from left to right and
the following three arguments the horizontal words from top to
bottom.