Skip to content

Commit 026330c

Browse files
committed
LUBM: minor fixes
1 parent d2d8f82 commit 026330c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/LUBM/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LUBM dataset
22

3-
## Folder structure:
3+
## Folder structure
44
- config.txt - configures mappings from IRI names to short string names (for our purposes)
55
- download.sh - downloads and unzips the lubm generator from oficial website
66
- generate.sh - generates dataset for 10 universities (this could be changed in the script: set -univ N)

tools/LUBM/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def add_rdf_edge(subj, pred, obj, graph):
7979
add_rdf_edge(res[s], 'OTHER', res[o], output)
8080
edges_count += 1
8181

82-
target = prefix + str(count) + 'v' + str(next_id) + 'e' + edges_count # output file
82+
target = prefix + str(count) + 'v' + str(next_id) + 'e' + str(edges_count) # output file
8383
write_to_rdf(target,output)
8484

8585
print('Total vertices:', next_id)

0 commit comments

Comments
 (0)