From SPARQL Working Group
> It would be helpful if SPARQL would define an ENCODE_FOR_LOCAL_NAME > function. > > At present, SPARQL provides the ENCODE_FOR_URI function to facilitate > the generation of new URIs within SPARQL queries or updates. This is > helpful, however often one needs to generate a new URI with a fixed > prefix and variable local name part, so that the generated URIs can be > used conveniently in subsequent SPARQL, Turtle and RDF/XML contexts. > But because the syntactic restrictions for local names (in SPARQL, > Turtle and XML) are more stringent than for URIs in general, additional > encoding is required.
The working group is capturing points as input for any future chartering process at
where we have added this suggestion.
We would be grateful if you would acknowledge that your comment has been answered by sending a reply to this mailing list.
Axel, On behalf of the SPARQL WG