General
Course Home Page
ESSLLI 2004
Material
Learn Prolog Now!
Further Reading
Get your own prolog
Lecture 1
Slides
Practical Session
Lecture 2
Slides
Practical Session
Lecture 3
Slides
Practical Session
Lecture 4
Slides
Practical Session
Lecture 5
Slides
Practical Session
Hint
are_neighbors_of(X,Y,Z) :- sits_left_of(X,Z), sits_right_of(Y,Z).
Back to the exercise.