W3C home > Mailing lists > Public > public-sparql-dev@w3.org > July to September 2010

Re: Escaping Special Characters in Abbreviated URIs

From: Richard Cyganiak <richard@cyganiak.de>
Date: Thu, 26 Aug 2010 07:57:34 +0100
Cc: "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>
Message-Id: <CCC1C481-6AA7-421D-963D-FA03EA2113E4@cyganiak.de>
To: "Wood, Jamey" <Jamey.Wood@nrel.gov>
Hi Jamey,

On 25 Aug 2010, at 19:54, Wood, Jamey wrote:
> Is it possible to escape special characters in abbreviated URIs in a  
> SPARQL query?  For example, how could one perform this query against  
> Dbpedia:
>  PREFIX dbpedia: <http://dbpedia.org/resource/>
>  DESCRIBE dbpedia:Newark%2C_New_Jersey
> I've tried various things, but so far have only been able to make it  
> work by using a non-abbreviated URI:
>  DESCRIBE <http://dbpedia.org/resource/Newark%2C_New_Jersey>

I believe that's the only way. Abbreviated URIs only allow a very  
limited set of characters and don't have an escaping mechanism. Or,  
you could say, the escaping mechanism is to use the full URI.


> Thanks,
> Jamey
Received on Thursday, 26 August 2010 06:58:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC