Re: Escaping Special Characters in Abbreviated URIs

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.

Best,
Richard



>
> Thanks,
> Jamey
>

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