I want to create a large list of person names and for this reason I downloaded a n-triple file from the KB Yago4. I used the Python library RDFLib and this code:
from rdflib.graph import Graph
g = Graph()
g.parse("yago_data.nt", format="nt")
But I only receive this error: ParseError("Failed to eat %s at %s" % (pattern.pattern, self.line))
How could I load the content of the n-triple file? Or is there a way to convert it to, e.g., xml/txt file? OS: Win10
Help is much appreciated!