Triply-Dev / YASGUI.YASQE-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
73 stars 36 forks source link

Forward slash not allowed in query editor #138

Closed amalic closed 4 years ago

amalic commented 6 years ago

I have to escape forward slashes, I don't understand why.

E.g. this is not a valid query in YASQE

PREFIX : <http://example.com/>
SELECT ?thing WHERE {
  ?thing a :category/subcategory/thing
}

Instead I have to escape forward slashes:

PREFIX : <http://example.com/>
SELECT ?thing WHERE {
  ?thing a :category\/subcategory\/thing
}

I could not find a rationale for this.

wouterbeek commented 6 years ago

@amalic Can you double-check this? AFAIK forward slashes are not allowed in Turtle/SPARQL local names.

LaurensRietveld commented 4 years ago

Closing, as indeed this is not allowed