- From: Peter Ansell <ansell.peter@gmail.com>
- Date: Fri, 4 Jun 2010 11:50:33 +1000
- To: public-sparql-dev@w3.org
Hi, I am not sure what the progress has been on the (very useful) extension to make it possible for SPARQL to create new URI/IRIs from literals/variables [1] but it would be nice if the discussion could also include something about a function for string transformation to encode strings so that the URIs are valid. For example it would be nice to be able to do something similar to the following pattern using a IRI/URI creation facility, CONSTRUCT { ?s <skos:prefLabel> ?label . ?s <myLibrary:hasAlternateURI> IRI("http://otherlibrary.example/"+ example:percentEncode(?label)+"/lang/"+example:percentEncode(lang(?label))} WHERE { ?s <skos:prefLabel> ?label . } Cheers, Peter [1] http://www.w3.org/2009/sparql/wiki/Feature:IriBuiltIn
Received on Friday, 4 June 2010 01:51:05 UTC