vertebrate(giraffe).
vertebrate(trout).
vertebrate(human).
swim(trout).
fish(X):-vertebrate(X),swim(X).
How are lists constructed in prolog? What are terms?
Try to scroll this section and look at the navigation list while scrolling!
How are graphs represented in Prolog, BFS,DFS,shortest weighte, Depth search
Here I explain how arithmetic in prolog works and give few examples.
Try to scroll this section and look at the navigation list while scrolling!
What is sudoku and how can it be solved by using prolog.
What is 8 queens problem and how can it be solved with prolog.