Provides facilities for grounding MLNs, including KBMC, SQL-based grounding, and MRF partitioning.

Grounding will be conducted in three phases: