Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

escaped backquote confuses the editor #258

Closed
hg-graebe opened this issue Sep 14, 2013 · 1 comment
Closed

escaped backquote confuses the editor #258

hg-graebe opened this issue Sep 14, 2013 · 1 comment
Assignees

Comments

@hg-graebe
Copy link

Concerns: Add data from source code

A syntactically correct piece of code (can be loaded directly via virtuoso command line) with escaped backquote (common to latex text pieces) is rejected by the editor. Try this:

rdfs:comment "A family of systems generated by $[x+y_z^n-2, y+z_x^n-2, z+x*y^n-2]$ with symmetry group $C_3$ and common zero $(1,1,1)$ with $n\geq 2$.\par The ideal generated by these polynomials seems always to have dimension 0. No obvoius formula for the multiplicity is known." ;

@white-gecko
Copy link
Member

As I understand turtle [1] a slash has to be escaped if it is used in a string literal. Can you please try if the following would work (which should at least be correct turtle):

<http://example.org/> rdfs:comment "A family of systems generated by $[x+y*z^n-2, y+z*x^n-2, z+x*y^n-2]$ with symmetry group $C_3$ and common zero $(1,1,1)$ with $n\\geq 2$.\\par The ideal generated by these polynomials seems always to have dimension 0. No obvoius formula for the multiplicity is known." .

I have found problems with

<http://chris.rkbexplorer.com/id/void> a void:uriRegexPattern "^http://chris\\.rkbexplorer\\.com/id/.+" .

while the following works:

<http://chris.rkbexplorer.com/id/void> a void:uriRegexPattern "^http://chris\\\\.rkbexplorer\\\\.com/id/.+" .

Since the error is a SPARQL Error I think it is related to the SPARQL Update, which doesn't escape the strings correctly.

[1] http://www.w3.org/TR/turtle/#sec-escapes

@white-gecko white-gecko self-assigned this Mar 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants