error
FatimahD-Alotaibi opened this issue · 2 comments
FatimahD-Alotaibi commented
Hi. Thank you so much for sharing the code.
I followed the instruction in the readme to start Virtuoso service. However, when I run the python3 fix_freebase_literal_format.py
It gives me this error.
subj, pred, obj, rest = line.split("\t")
TypeError: a bytes-like object is required, not 'str'
could you please help?
ysu1989 commented
are you using the provided virtuoso db files (downloaded via a Dropbox link)? If so, you don't need to run the fix_freebase_literal_format.py
at all
FatimahD-Alotaibi commented
Thank you I skipped that. However, when I try to run the SPARQL query, the Sparql editor returns nothing.