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
rdf_load/[1,2] performs IRI normalization before sending an HTTP request. IRI normalization introduces unnecessary percent escaping that is not supported by all servers, occasionally resulting in unsuccessful requests.
Great. In a previous rounds, we decided that : must be escaped to avoid relative URIs to be read as absolute ones. The above makes it really hard when you can/must escape. rdf_load escapes to allow it processing the unescaped IRIs on the triples ...
I'm not clear on the benefit of escaping : in places where this is not required. The only benefit that I can think of is processing speed, since the syntax for relative IRIs is recognizably different than the one for absolute IRIs.
It is rather odd. RFC3986 indeed allows for ":" in a path segment. However, if you have a relative url, using a ":" in (the first) path segment causes it to become ambiguous (it can also be read as an absolute url). This problem was raised by Samer a while ago and caused the decision to escape the
":". Looking at JavaScript, we get
rdf_load/[1,2]
performs IRI normalization before sending an HTTP request. IRI normalization introduces unnecessary percent escaping that is not supported by all servers, occasionally resulting in unsuccessful requests.Reproducible case:
If you visit http://dbpedia.org/resource/Category:Politics then you see that there are triples there.
The text was updated successfully, but these errors were encountered: