Current Behavior
GraphPatterns.and()
.and(
GraphPatterns.filterNotExists(
iri("http://example").isA(iri("http://example/Class"))
).getQueryString()
renders
"{ <http://example> a <http://example/Class> . }"
The problem is that the FILTER NOT EXISTS clause is lost.
Expected Behavior
GraphPatterns.and()
.and(
GraphPatterns.filterNotExists(
iri("http://example").isA(iri("http://example/Class"))
).getQueryString()
renders
"{ FILTER NOT EXISTS { <http://example> a <http://example/Class> . }"
Steps To Reproduce
See above , I have pushed some example test to my fork: https://github.com/seakayone/rdf4j/pull/1/files
Version
commit fe9c6d5 (at the time of reporting it is main HEAD)
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response