added: support for rdflib 4.x imports

Added imports for rdflib 4.x