4 ms·
Exposing you whole database (or subset user is allowed to see) as GraphQL is way better as it is engine agnostic.
by scotty79 5y ago
Exposing you whole database (or subset user is allowed to see) as GraphQL is way better as it is engine agnostic.
- zozbot234 5y agoGraphQL is not a standard, it's just a technology for building custom API's which are far from "agnostic" in practice. You can use SPARQL if interoperability if your goal.
- scotty79 5y agoSPARQL is 14 years old, and RDF it's supposed to query is 26 years old. I think by now most people said "nah". GraphQL is something people actually want to interact with and develop.
- zozbot234 5y agoBoth SPARQL and RDF are under continuing development, actually. Possibly more so than GraphQL itself.
- scotty79 5y agoIf you have a Postgres database you can expose it as GraphQL by putting Hasura in front if it. A piece of software used by Walmart and Atlassian among others, despite being just 5 years old. Nothing like that exists for SPARQL, RDF and Postgres