Hi,
In my SPARQL queries, I use single quotes as delimiters. In my opinion, an enclosed double quote should work fine:
In Stardog 2.2.4, I get the following syntactical error:
java.lang.RuntimeException: com.complexible.stardog.plan.eval.operator.OperatorException: Cannot parse 'Lebens"': Lexical error at line -6, column 8. Encountered: <EOF> after : ""
Is this behaviour correct? I guess rather not since I do not have this problem with dbpedia's SPARQL endpoint.
If I included an unescaped single quote in the string, an error should be thrown (since it is used as a delimiter). We have to escape the single quotes in order to prevent injections. Is there a standard string check to prevent injections?