GraphNode bindingNode;
if (oldBindingValue != null) {
NonLiteral oldBinding = getBindingWithValue(oldBindingValue, contentGraph);
if (oldBinding != null) {
GraphNode oldBindingNode = new GraphNode(oldBinding, contentGraph);
oldBindingNode.replaceWith(binding);
}
}
bindingNode = new GraphNode(binding, contentGraph);
bindingNode.addProperty(RDF.type, CURIE.CuriePrefixBinding);
bindingNode.deleteProperties(CURIE.prefix);