Some examples in Prolog programming language.