rdf generation revised.