mapping.add(( bnode , RR.template , URIRef("dv3{}") )) works fine when serializing :)
gives at serialisation:
<class 'Exception'> "dv3{}" does not look like a valid URI, I
cannot serialize this as N3/Turtle. Perhaps you wanted to urlencode it? :(
The { } are not handled properly.
But why?