W3C home > Mailing lists > Public > public-lod@w3.org > June 2010

D2RQ mapping - URI pattern with blank spaces

From: Jose Racionero <jracionero@isoco.com>
Date: Wed, 16 Jun 2010 11:51:24 +0200
Message-ID: <4C189E9C.30705@isoco.com>
To: public-lod@w3.org
Hello everybody,

I am publishing a relational database as Linked Data using D2R Server 
and I have a question regarding the URI formation.

As I can see at the mapping file I am using for my test database, the 
URI pattern is chosen here:

/d2rq:dataStorage map:database;
d2rq:uriPattern "cds/@@cds.Title@@"; /

Now, the problem is that the column /Title /at the table /cds/ is a text 
string which may contain blanks and when it does contain them, the 
resulting URI (/http://localhost:2020/page/cds/MTV Unplugged/, for 
instance) cannot be accessed. Hence, my question is simple: is there any 
trick to solve the problem with these blanks?

Thanks,

---------------------------------------------------
*Jose Racionero*
Intern
jracionero@isoco.com <mailto:jracionero@isoco.com>
Edificio Testa C/ Alcalde Barnils, 64-68 A 4ª planta
08190 Sant Cugat del Vallès - Barcelona

*iSOCO*
           enabling the networked economy
www.isoco.com <http://www.isoco.com>
*/P/ /Please consider your environmental responsibility before printig 
this e-mail/*
Received on Wednesday, 16 June 2010 11:32:26 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:27 UTC