I am looking for the equivalent to SPARQL ENCODE_FOR_URI. Although both this and uri_encoded/3 seem to implement RFC3986, the behavior seems different in particular, `BIND(ENCODE_FOR_URI('+/') as ?x)
yields
%2B%2F`. However, no value for Component yields the same. segment pct-encodes the slash but not the plus, query_value pct-encodes the plus but not the slash (the other two options pct-encodes neither).