I have a situation where I want to do a delete of a large number of 
triples, some of which have escape characters in a literal

So my question is 2 fold.

1) Is there a bulk delete procedure, equivalent to the bulk upload?
2) If I delete, via isql, on a per triple basis, how can I do so with 
triples like this:

<x> <http://www.w3.org/2008/05/skos-xl#literalForm> "EAME\L300641"

I'm trying to do via the ISQL interface in a bash script

i.e. /apps/virtuoso/bin/isql 1111 dba dba exec='SPARQL WITH 
<http://example.com/core/graph/data> DELETE { <x> 
<http://www.w3.org/2008/05/skos-xl#literalForm> "EAME\L300641" }'

The error I get is - Bad escape sequence in a SPARQL short double-quoted 
string --- issue is the \

I get the same with a triple like

<y> <http://www.w3.org/2004/02/skos/core#prefLabel> "10%w/w solution of 
Marlox"; -- is is the %

Is there some way via isql in a bash script to get characters like \ and 
% escaped?

Thanks

Ian

-- 
Ian Harrison                Email: i...@big-data-analytics.com
Tel: +44 (0)7580 618125


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to