ConcreteRelation relation = new ConcreteRelation(currentRelationRes);
float strength = relation.getCurrentStrength();
if (strength > 0.000001) {
float newStrength = 1f - ((1f - strength)*0.5f);
currentRelationRes.removeAll(KNOBOT.effectiveDate);
currentRelationRes.removeAll(KNOBOT.strength);
Literal effectiveDateLiteral = model.createTypedLiteral(new W3CDateFormat()
.format(new Date()), XSDDatatype.XSDdateTime);
currentRelationRes.addProperty(KNOBOT.effectiveDate, effectiveDateLiteral);
currentRelationRes.addProperty(KNOBOT.strength, model.createTypedLiteral(newStrength));