function test_KB = BR_gen_study_KB_ind(num_KB,n,max_sentences,max_clause)
%

count = 0;
while count<num_KB
    [KB,ccp,ap] = BR_gen_test_KB_ind(n,max_sentences,max_clause);
    if ~isempty(KB)&~isempty(ccp)&~isempty(ap)
        count = count + 1
        test_KB(count).KB = KB;
        test_KB(count).ccp = ccp;
        test_KB(count).ap = ap;
    end
end
