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 converting JSON-LD (application/ld+json) file to TTL (text/turtle), URLs are encoded again, so the typical %2520 issue appears in the TTL files.
The issue also happens when I convert JSON-LD first to N-Quads (application/n-quads) with jsonld library, and then to TTL. So I'd suspect the root cause might be in the TTL serializer.
http://example.com#prop2%2520dogan should have been http://example.com#prop2%20dogan. This is for instance the behavior of another implementation EasyRdf Converter.
References
Similar issue: #290 // I'm not sure why it was closed.
The text was updated successfully, but these errors were encountered:
fennibay
added a commit
to fennibay/rdflib.js
that referenced
this issue
Oct 6, 2023
Problem description
When converting JSON-LD (application/ld+json) file to TTL (text/turtle), URLs are encoded again, so the typical
%2520
issue appears in the TTL files.The issue also happens when I convert JSON-LD first to N-Quads (application/n-quads) with jsonld library, and then to TTL. So I'd suspect the root cause might be in the TTL serializer.
Example
Example input:
Example output:
http://example.com#prop2%2520dogan
should have beenhttp://example.com#prop2%20dogan
. This is for instance the behavior of another implementation EasyRdf Converter.References
Similar issue: #290 // I'm not sure why it was closed.
The text was updated successfully, but these errors were encountered: