I was testing RDFLib using WinPython. Just to see if it works I quickly ran Jeni Tennison's tutorial source code. While almost everything worked ok, there seems to be an error with the RDFLib 3.2.3 version (which apparently is the only one I can run with WinPython):
If I try to parse the content directly I will get the error described here: rdflib troubles. How should I parse the code using RDFLib 3.2.3 so that I will not get the BAD URL error described in the other forum post? Configuration is Windows 7, 64 bytes, WinPython 0.11 Python 18.104.22.168. and Python 22.214.171.124. - 64 bytes
Any RDFLib version >3 should work fine on windows.
Just replacing rdflib.StringInputSource(content) with data=content, like this:
answered 22 Feb, 13:54