I'm sending the following SPARQL Update statement to Virtuoso:

insert data into 
<file:/C:/Bouvet/OntopiaServer/apache-tomcat/common/classes/ifs.xtm> { 
<http://psi.ontopia.net/customers/ifs/su5566629993> 
<http://www.w3.org/2000/01/rdf-schema#label> "MM'S LUNCH & CATERING" 
.<http://psi.ontopia.net/customers/ifs/su5566629993> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://psi.ontopia.net/customers/ifs/supplier> . }


To which Virtuoso replies:

37000 Error SP030: SPARQL compiler, line 0: Unterminated short double-quoted 
string at ''

SPARQL query:
insert data into 
<file:/C:/Bouvet/OntopiaServer/apache-tomcat/common/classes/ifs.xtm> { 
<http://psi.ontopia.net/customers/ifs/su5566629993> 
<http://www.w3.org/2000/01/rdf-schema#label> "MM'S LUNCH


This makes me think the '&' character is the problem. The BNF given here 
doesn't define the "String" production:
http://docs.openlinksw.com/virtuoso/rdfsparql.html

However, according to production [88] here, it's definitely legal:
http://www.w3.org/Submission/SPARQL-Update/#rSTRING_LITERAL2

Thoughts?

-- 
Lars Marius Garshol
[email protected]





Reply via email to