the code of rdf, which will write by java.