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

Grounding will be conducted in three phases:

Following figure illustrates the relationship between these classes and database tables. From this figure, we can see KBMC and Grounding should be invoked sequencially, because the former one provide information for the latter one. Information needed by KBMC comes from the built MarkovLogicNetwork, and the information produced by Grounding is used for building the MRF. Diagram for Package grounding