clean up generated RDF