You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting a resource that has a string data type in the model, then the property is always present and the language map has all of the known languages with an empty string @value.
In arches/app/datatypes/datatypes.py, line 214, add a test in the for loop:
for key in edge_info["range_tile_data"].keys():
if edge_info["range_tile_data"][key]["value"]:
g.add((edge_info["d_uri"], URIRef(edge.ontologyproperty), Literal(edge_info["range_tile_data"][key]["value"], lang=key)))
(I made a PR, but then closed as wasn't sure which branch to send it to. Look at the branch 9192_empty_languages for the change in situ)
Arches Version/Branch: stable/7.2.1
Describe the bug and how to reproduce it:
When requesting a resource that has a string data type in the model, then the property is always present and the language map has all of the known languages with an empty string
@value
.For example:
Should actually be just
To Reproduce:
The text was updated successfully, but these errors were encountered: