Skip to content

Commit

Permalink
fixing #75
Browse files Browse the repository at this point in the history
  • Loading branch information
dachafra committed Dec 20, 2023
1 parent 2d5465c commit 304feaa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/yatter/predicateobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ def add_predicate_object(data, mapping, predicate_object, mapping_format=RML_URI
object_map = generate_rml_termmap(R2RML_OBJECT, R2RML_OBJECT_CLASS,
object_value, "\t\t\t", mapping_format)

if object_value not in prefixes and ":" not in object_value and R2RML_CONSTANT in object_map:
object_map = object_map.replace(object_value, f"\"{object_value}\"")

template += object_map
if len(om) == 2:
types = check_type(om[1])
Expand Down

0 comments on commit 304feaa

Please sign in to comment.