Generates the SPARQL representation of a string value.
Emits a simple literal in double quotes, escaping the content according to the STRING_LITERAL2 production; the
xsd:string datatype is implied and left off, so this is the shortest form of a plain string literal.
Parameters
value: string
The string value to render
Returns string
The generated simple literal
Throws
RangeError if value is not a well-formed Unicode string, that is if it holds an isolated UTF-16 surrogate
code point
Generates the SPARQL representation of a string value.
Emits a simple literal in double quotes, escaping the content according to the STRING_LITERAL2 production; the
xsd:stringdatatype is implied and left off, so this is the shortest form of a plain string literal.