Open abrokenjester opened 3 years ago
There's no full-proof way to support this kind of thing with SPARQL only. We should solve this issue by catching the error and wrapping it in a new error to indicate removing statements with specific blank nodes is unsupported in the SPARQL client.
To execute the
RepositoryConnection.remove(Iterable)
API method, SPARQLRepository constructs aDELETE DATA
request. However, when the input statements contain blank nodes, this results in an illegal SPARQL operation:DELETE DATA
is not allowed to contain blank node identifiers.