Fixed URI generation
This commit is contained in:
parent
70af19d356
commit
7feb4eb857
@ -44,7 +44,8 @@ def print_dbpedia(file: str, out: str):
|
||||
if len(sections) < 3:
|
||||
continue
|
||||
|
||||
URI = "/".join(sections[:3])
|
||||
URI = "/".join(sections[1:3])
|
||||
URI = "//".join([sections[0], URI])
|
||||
|
||||
if URI in already_parsed:
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user