Port rdfhelp to rdflib from redland librdf.