KnowledgeBase knowledgeBase = getKnowledgeBase();
for (ObjectEntityInstance instance : multiEntityBayesianNetwork
.getObjectEntityContainer().getListEntityInstances()) {
knowledgeBase.insertEntityInstance(instance);
}
for (MFrag mfrag : multiEntityBayesianNetwork.getDomainMFragList()) {
for (ResidentNode residentNode : mfrag.getResidentNodeList()) {
for (RandomVariableFinding finding : residentNode