The RDF representation of all Wikidata sitelinks as URIs rather than IRIs is problematic.
These sitelinks (as primary source identifiers) should be represented as unencoded IRIs in the RDF because the sitelinks refer directly to their canonical IRI (RFC3987 compliant) representation.
For applications, mapping to an RFC3986 compliant URI from the IRI can easily be done programmatically, but decoding an IRI from an encoded URI in a SPARQL 1.1 query is just not possible.
See https://tools.ietf.org/html/rfc3987 for guidance on IRIs.