dki-lab/Freebase-Setup

error

FatimahD-Alotaibi opened this issue · 2 comments

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?

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

Thank you I skipped that. However, when I try to run the SPARQL query, the Sparql editor returns nothing.