six: no more import of rdflib and fixed use of tuple assignment in method signature
six: use urljoin, urlquote, urldefrag from six.moves
six: use PY2, PY3 from six, __nonzero__/__bool__ compatibility