Decode format string so \n is newline, etc.  Use correct base URI when parsing RDF resources