aliases.addAlias(vars[3], labels[0]);
aliases.addAlias(vars[4], labels[2]);
aliases.addAlias(vars[4], labels[3]);
relations = new Relation[2];
relations[0] = new Relation("A", new String[] {"Foo", "Bar"});
relations[1] = new Relation("B", new String[] {"Foo", "Foo"});
ctx = new RelationshipContext(false);
RelationshipDelta delta = new RelationshipDelta();
delta.setRelationship(new Relationship(relations[0], new ObjectLabel[] {labels[0], labels[1]}), SevenPointLattice.TRU);
ctx = ctx.applyChangesFromDelta(delta);