W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2010

Fwd: IRI creation and encoding

From: Andy Seaborne <andy.seaborne@talis.com>
Date: Fri, 04 Jun 2010 10:27:55 +0100
Message-ID: <4C08C71B.9060609@talis.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
Another possible function from F&O:

the function is fn:encode-for-uri

Peter also overloads "+" as string concatenation and uses expressions in 
the CONSTRUCT template.


-------- Original Message --------
Subject: IRI creation and encoding
Resent-Date: Fri, 4 Jun 2010 05:01:49 +0000
Resent-From: <andy.seaborne@talis.com>,	<public-rdf-dawg-comments@w3.org>
Date: Fri, 4 Jun 2010 15:01:16 +1000
From: Peter Ansell <ansell.peter@gmail.com>
To: <public-rdf-dawg-comments@w3.org>


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,

{ ?s <skos:prefLabel> ?label . ?s <myLibrary:hasAlternateURI>
{ ?s <skos:prefLabel> ?label . }



[1] http://www.w3.org/2009/sparql/wiki/Feature:IriBuiltIn
Received on Friday, 4 June 2010 09:27:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:00 UTC