Hello,
Currently when a prefixed IRI has an escaped non-alphanumeric character, the IRI gets parsed incorrectly.
For example, this query:
PREFIX a: <a:a>
Select * where {
bind(a:a\/s as ?x)
}
Results to this JSON with the value of the IRI being a:aa\\/s:
{
"queryType": "SELECT",
"variables": [
{}
],
"where": [
{
"type": "bind",
"variable": {
"termType": "Variable",
"value": "x"
},
"expression": {
"termType": "NamedNode",
"value": "a:aa\\/s"
}
}
],
"type": "query",
"prefixes": {
"a": "a:a"
}
}
But the value of the IRI should be a:aa/s:
{
"queryType": "SELECT",
"variables": [
{}
],
"where": [
{
"type": "bind",
"variable": {
"termType": "Variable",
"value": "x"
},
"expression": {
"termType": "NamedNode",
"value": "a:aa/s"
}
}
],
"type": "query",
"prefixes": {
"a": "a:a"
}
}
Hello,
Currently when a prefixed IRI has an escaped non-alphanumeric character, the IRI gets parsed incorrectly.
For example, this query:
Results to this JSON with the value of the IRI being
a:aa\\/s:{ "queryType": "SELECT", "variables": [ {} ], "where": [ { "type": "bind", "variable": { "termType": "Variable", "value": "x" }, "expression": { "termType": "NamedNode", "value": "a:aa\\/s" } } ], "type": "query", "prefixes": { "a": "a:a" } }But the value of the IRI should be
a:aa/s:{ "queryType": "SELECT", "variables": [ {} ], "where": [ { "type": "bind", "variable": { "termType": "Variable", "value": "x" }, "expression": { "termType": "NamedNode", "value": "a:aa/s" } } ], "type": "query", "prefixes": { "a": "a:a" } }