We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dear rdflib developers,
I'm running into a problem with the BerkeleyDB backend: It does not delete a triplet from an DELETE/INSERT query. I made a minimal reproducer here: https://gist.github.com/roelj/a7b2f1751d8fe23fab96404ec69a10c0
DELETE/INSERT
It comes down to this query:
PREFIX test: <http://test.nonexisting/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> DELETE { GRAPH <test://default> { ?dataset test:title ?title . ?dataset test:modified_date ?modified_date . } } INSERT { GRAPH <test://default> { ?dataset test:title "Test"^^xsd:string . ?dataset test:modified_date "***variable***"^^xsd:dateTime . } } WHERE { GRAPH <test://default> { ?dataset rdf:type test:Dataset . ?dataset test:title ?title . ?dataset test:modified_date ?modified_date . } }
Where this triplet gets duplicated (so, it isn't DELETEd, but the INSERT works):
DELETE
INSERT
?dataset test:modified_date ?modified_date .
This happens only with the BerkeleyDB backend. Using a Virtuoso endpoint works as expected (no duplicated triples). I hope it's clear.
The text was updated successfully, but these errors were encountered:
After experimenting a bit further, it seems that this only happens when using xsd:dateTime. When using xsd:string the issue is not present.
xsd:dateTime
xsd:string
Sorry, something went wrong.
No branches or pull requests
Dear rdflib developers,
I'm running into a problem with the BerkeleyDB backend: It does not delete a triplet from an
DELETE/INSERT
query.I made a minimal reproducer here:
https://gist.github.com/roelj/a7b2f1751d8fe23fab96404ec69a10c0
It comes down to this query:
Where this triplet gets duplicated (so, it isn't
DELETE
d, but theINSERT
works):This happens only with the BerkeleyDB backend. Using a Virtuoso endpoint works as expected (no duplicated triples).
I hope it's clear.
The text was updated successfully, but these errors were encountered: