D2KLab / sparql-transformer

A more handy way to use SPARQL data in your web app
https://d2klab.github.io/sparql-transformer/
Apache License 2.0
45 stars 6 forks source link

Support for Delete/Insert planned? #11

Open peacememories opened 4 years ago

peacememories commented 4 years ago

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? :)

pasqLisena commented 4 years ago

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?

peacememories commented 4 years ago

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