The Theory
of Datalog