sparql-transformer icon indicating copy to clipboard operation
sparql-transformer copied to clipboard

Support for Delete/Insert planned?

Open peacememories opened this issue 5 years ago • 2 comments

Hi, and thanks for writing this library. I really like the ergonomics here, especially since we're currently struggling to find a SPARQL client library that allows us to easily define initial variable bindings and transformations for the results. Unfortunately we will also need DELETE/INSERT support for our application. Is support for this planned in the future? How much effort do you think would be needed to add support for it, in case we try to add it? :)

peacememories avatar Jun 08 '20 13:06 peacememories

Hi @peacememories ! Including DELETE/INSERT would be for sure an interesting update.

The biggest challenge is that D/I have an additional place for the SPARQL expressions to be removed/inserted, differently from SELECT, in which we have the sole WHERE.

Do you have already in mind a use case?

pasqLisena avatar Jun 08 '20 14:06 pasqLisena

Our use case would be to have blazegraph as main data backend for our current application. We store our data in RDF because we do some reasoning on it, but at the same time the application has a pretty typical CRUD frontend, so we need D/I functionality. we're currently using sparql-http-client, but having a quasi-dsl like sparql-transformer for creating queries would be much less of a headache

peacememories avatar Jun 10 '20 11:06 peacememories