fixed rdflib logger warnings about bad URIs and some other minor stuff