I am creating a simple web service based on the SPARQL Tutorial
exercises. I have the following PerformUpdate query:
INSERT {
?cityURI a region:City .
?cityURI rdfs:label ?cityLabel .
}
WHERE {
LET (?cityURI := smf:buildURI("<region:{?arg1}>")) .
LET (?cityLabel := smf:setLanguage(?arg1, "en")) .
}
The value of ?arg1 is meant to come from the web service invocation.
When I execute the query using the SPARQL tab and insert some
arbitrary value for ?arg1, the required triples are inserted into the
current model; however, when I run the query using the debug feature,
the following exception occurs:
Error: com.hp.hpl.jena.query.QueryParseException: Lexical error at
line 27, column 50. Encountered: "\"" (34), after : "ABCD"
where ABCD was entered for the value of ?arg1. What might be causing
the difference in behavior, and, more importantly, how might I fix the
query?
Thanks in advance for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---