\r
// final Resource variable = g.getSingleObject(ownerList, sr.Variable_expressions_Inverse);\r
final Resource variable = g.getPossibleObject(expression, l0.PartOf);\r
- Resource ownerList = g.getPossibleObject(expression, sr.Variable_expressionList);\r
+ Resource ownerList = g.getPossibleObject(variable, sr.Variable_expressionList);\r
// OrderedSetUtils.replace(g, ownerList, expression, newExpression);\r
ListUtils.replace(g, ownerList, expression, newExpression);\r
g.deny(expression, l0.PartOf);\r