URI type = backend.getLiteralType(value);
if(type != null){ //typed literal -> need to transform
NodeTransformer nt = transformer.get(type.toString());
if(nt != null){ //add typed literal
try {
result.add(entry.getKey(), nt.transform(backend, value));
} catch (RuntimeException e) {
log.info("Unable to transform {} to dataType {} -> will use lexical form",value,type);
result.add(entry.getKey(),backend.stringValue(value));
}
} else { //no transformer