Learning Pilog — 2: Facts, Rules, Queries

This post follows the tutorial from “Learn Prolog Now!”, Chapter 1.