Instead of returning anonymous objects, we could allow the semantic data provider to return objects of type ldo. The advantage is that the object would be typed, and that we wouldn't be able to use properties that don't exist. See:
https://o-development.github.io/ldo.js.org/api/ldo/#simple-example
This new library could also be used to handle updates (at the bottom of the example, there is an example of the .toSparqlUpdate method)
Alternative option: #1122
Instead of returning anonymous objects, we could allow the semantic data provider to return objects of type ldo. The advantage is that the object would be typed, and that we wouldn't be able to use properties that don't exist. See:
https://o-development.github.io/ldo.js.org/api/ldo/#simple-example
This new library could also be used to handle updates (at the bottom of the example, there is an example of the
.toSparqlUpdatemethod)Alternative option: #1122