You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it maybe would be better to use "is None", "is not None" instead of using != == for None comparisons as None is an integer and things can break subtle. For example None == 0 would return True
This should be considered for a proper bugfix and maybe in some other code parts too
Failing example
... can produce ...
...
ex:a ex:b ex:c
does not match(ex.a, ex.b, Literal(""))
(
Literal("")
,Literal(0)
,Literal(False)
are treated as a variable)Solution
These lines should compare to
None
(a.k.a. ANY) instead:rdflib/rdflib/plugins/stores/sparqlstore.py
Line 298 in b0392f0
rdflib/rdflib/plugins/stores/sparqlstore.py
Line 435 in b0392f0
rdflib/rdflib/plugins/stores/sparqlstore.py
Line 794 in b0392f0
The text was updated successfully, but these errors were encountered: