RDF issue for Python 3