Fix problem when turning into RDF where datatype was not made a URI.