rubensworks / fetch-sparql-endpoint.js

A simple, lightweight module to send queries to SPARQL endpoints and retrieve their results in a streaming fashion.
MIT License
21 stars 12 forks source link

Separation of concerns #83

Open c-martinez opened 4 months ago

c-martinez commented 4 months ago

This is more a general question than a specific issue: is there a way to use fetch-sparql-endpoint.js to allow users to access data in a SPARQL endpoint without having to concern themselves with SPARQL queries?

Disclaimer: I am the author of a Python library for doing that, and I'm considering whether it would be useful to have a JS version of it or whether something similar already exists.

rubensworks commented 4 months ago

Hi @c-martinez 👋

AFAIK, there are no abstraction layers on top of this library directly, but there are several for Comunica (which can do everything this library can, and more), such as LDflex and LDkit. But providing more options to users is always helpful :-)

c-martinez commented 4 months ago

Thanks @rubensworks, good to know about the existance of LDflex and LDkit. Yes, I guess more options are always good, but I don't want to re-invent the wheel if there is no need for it.