Skip to content

Commit 3808753

Browse files
committed
Ignore empty value as join value
1 parent b0b69fd commit 3808753

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ You can easily customize your own configurations from the set of features that S
8484

8585
## Version
8686
```
87-
4.7.4.15
87+
4.7.4.16
8888
```
8989

9090
## RML-Test Cases

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.4.15
1+
4.7.4.16

rdfizer/rdfizer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def hash_maker(parent_data, parent_subject, child_object, quoted, triples_map_li
351351
for row in parent_data:
352352
if quoted == "":
353353
if child_object.parent[0] in row.keys():
354-
if row[child_object.parent[0]] in hash_table:
354+
if row[child_object.parent[0]] in hash_table and row[child_object.parent[0]] != "" and row[child_object.parent[0]] != None:
355355
if duplicate == "yes":
356356
if parent_subject.subject_map.subject_mapping_type == "reference":
357357
value = string_substitution(parent_subject.subject_map.value, ".+", row, "object", ignore,

rdfizer/rdfizer/semantify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def hash_maker(parent_data, parent_subject, child_object, quoted, triples_map_li
351351
for row in parent_data:
352352
if quoted == "":
353353
if child_object.parent[0] in row.keys():
354-
if row[child_object.parent[0]] in hash_table:
354+
if row[child_object.parent[0]] in hash_table and row[child_object.parent[0]] != "" and row[child_object.parent[0]] != None:
355355
if duplicate == "yes":
356356
if parent_subject.subject_map.subject_mapping_type == "reference":
357357
value = string_substitution(parent_subject.subject_map.value, ".+", row, "object", ignore,

0 commit comments

Comments
 (0)