kasei / perlrdf

Deprecated in favor of the Attean package
26 stars 25 forks source link

RDF::Trine::Store::SPARQL doesn't handle context correctly in add_statement and remove_statement(s). #148

Open minusdavid opened 7 years ago

minusdavid commented 7 years ago

It looks like RDF::Trine::Store::SPARQL ignores the context parameter in remove_statement and remove_statements.

At the moment, I'm working around this by just passing a quad with the required context to remove_statements(), but worth noting the bug to fix later.

minusdavid commented 7 years ago

Actually, it looks like it's also an issue with add_statement. I work around that by creating quads before inserting, which is a bit sub-optimal as it adds an extra unnecessary loop to the process.