Add write_rdf() function building off from_rdfgraph()