i3 = new KiWiTriple(s3,p1,o3, ctx_inferred); i3.setInferred(true);
i4 = new KiWiTriple(s1,p2,o1, ctx_inferred); i4.setInferred(true);
i5 = new KiWiTriple(s1,p2,o3, ctx_inferred); i5.setInferred(true);
// assume i1 is justified by t1 and t2;
j1 = new Justification();
j1.setTriple(i1);
j1.getSupportingTriples().add(t1);
j1.getSupportingTriples().add(t2);
baseJustifications.put(i1, Collections.singleton(j1));
// assume i2 is justified by t3 and t4, as well as by t2 and t4
j2 = new Justification();
j2.setTriple(i2);
j2.getSupportingTriples().add(t3);
j2.getSupportingTriples().add(t4);
j3 = new Justification();
j3.setTriple(i2);
j3.getSupportingTriples().add(t2);
j3.getSupportingTriples().add(t4);
baseJustifications.put(i2, Sets.newHashSet(j2,j3));
// assume that i5 as well is justified by two justifications
j4 = new Justification();
j4.setTriple(i5);
j4.getSupportingTriples().add(t1);
j4.getSupportingTriples().add(t4);
j5 = new Justification();
j5.setTriple(i5);
j5.getSupportingTriples().add(t2);
j5.getSupportingTriples().add(t5);
baseJustifications.put(i5, Sets.newHashSet(j4,j5));
// i3 justified by i1 and t3
tj1 = new Justification();
tj1.setTriple(i3);
tj1.getSupportingTriples().add(i1);
tj1.getSupportingTriples().add(t3);
// i4 justified by i1 and i2
tj2 = new Justification();
tj2.setTriple(i4);
tj2.getSupportingTriples().add(i1);
tj2.getSupportingTriples().add(i2);
// i6 is justified by i2 and i5 (so multiplexing needed)
tj3 = new Justification();
tj3.setTriple(i6);
tj3.getSupportingTriples().add(i2);
tj3.getSupportingTriples().add(i5);
}