A rule is referred to as ground if all of its atoms (head and body) are ground. A floor rule R1 is often a ground occasion of One more rule R2 if R1 is the results of a substitution of constants for many of the variables in R2. The Herbrand base of a Datalog plan is definitely the set of all floor atoms which can be manufactured Using the constants