SPARQL produced by equality expressions

Issue #1 resolved
Brian Beck
repo owner created an issue

Consider adding a FILTER expression to a SPARQL query using the following Python expression:

{{{

!python

rdflib.Variable('a') == 5 }}}

What behavior would you expect?

FILTER (?a = 5)

FILTER (?a = "5"^^xsd:integer)

FILTER sameTerm(?a, 5)

FILTER sameTerm(?a, "5"^^xsd:integer)

Determine if an unsupported type is present and conservatively choose = or sameTerm.

Disallow this syntax.

Comments (3)

  1. Log in to comment