Helper scripts to process rdf.