URI predicate1 = new URIImpl("http://localhost/"+ RandomStringUtils.randomAlphanumeric(8));
URI predicate2 = new URIImpl("http://localhost/"+ RandomStringUtils.randomAlphanumeric(8));
Literal object1 = new LiteralImpl("http://localhost/"+ RandomStringUtils.random(40));
Literal object2 = new LiteralImpl("http://localhost/"+ RandomStringUtils.random(40));
Statement stmt1 = new StatementImpl(subject1,predicate1,object1);
Statement stmt2 = new StatementImpl(subject1,predicate1,object2);
Statement stmt3 = new StatementImpl(subject1,predicate2,object1);
Statement stmt4 = new StatementImpl(subject1,predicate2,object2);
Statement stmt5 = new StatementImpl(subject2,predicate1,object1);
Statement stmt6 = new StatementImpl(subject2,predicate1,object2);
Statement stmt7 = new StatementImpl(subject2,predicate2,object1);
Statement stmt8 = new StatementImpl(subject2,predicate2,object2);
TripleTable<Statement> table = new TripleTable<>();
table.add(stmt1);
table.add(stmt2);
table.add(stmt3);