Easiest way is to strip the namespaces yourself:
import re
for row in qres:
print(" %s is %s" % tuple(re.sub(r'^.*[/#]', '', r) for r in row))
If you want to use the namespace manager, you can do this similarly:
for row in qres:
print(" %s is %s" % tuple(g.qname(r).split(':')[1] for r in row))
--
http://github.com/RDFLib
---
You received this message because you are subscribed to the Google Groups
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rdflib-dev/0b0cd799-73d5-40e2-961a-c02ca8ad896eo%40googlegroups.com.