Hi Alexey,

The following param in the Virtuoso INI file controls the handling of the 
backslash character:

SQL_NO_CHAR_C_ESCAPE=0
This options is 0 by default and can be either 1 or 0. This option controls 
Virtuoso's interpretation of the backslash in PL text which is normal 
interpreted as escaping rather than literal.

as detailed at:

        http://docs.openlinksw.com/virtuoso/dbadm.html

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 26 Mar 2013, at 14:04, Alexey Zakhlestin <[email protected]> wrote:

> Hi.
> 
> I have a dataset, which has backslash character in some of the Subject URIs. 
> Whenever I try to use such URI in SPARQL Query, Virtuoso gives me this:
> 
>    Virtuoso 37000 Error SP030: SPARQL compiler, line 0: Invalid character in 
> SPARQL expression at '\'
> 
> Do I need to escape backslash somehow? I tried to replace it with "%5C" and 
> "%5c" but that just gives me empty result set.
> 
> Example of URI:
> 
> <http://example.com/some/path/and\more>
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to