sparna-git / Sparnatural

Sparnatural : Typescript visual SPARQL query builder for knowledge graphs, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
206 stars 34 forks source link

Disallow the selection of variables in a negative branch #507

Closed Marie-Sparna closed 1 year ago

Marie-Sparna commented 1 year ago

Error 500 when activating the eye on "enableNegation" parameter. Not very useful to activate the eye in that case but we don't really understand the error when we run the query then :

image

tfrancart commented 1 year ago

Not very useful to activate

I would even say that selecting something which be definition does not exist is a logical non-sense :-)

but we don't really understand the error

The error message is given by Virtuoso, not by Sparnatural. Other triplestores would not return an error, and simply not bind the variable. We can't do anything about the error message.

What we can do however is to:

I think this was working this way before the port to Typescript