14 ms·
Basically, GraphQL is a revamping of SPARQL (you know, the W3C language to query RDF databases). FYI, DBPedia is a big big endpoint for these old-school technol
by lolive 9y ago
Basically, GraphQL is a revamping of SPARQL (you know, the W3C language to query RDF databases).
FYI, DBPedia is a big big endpoint for these old-school technologies.
My question is then:
- will there be a "standard" way to describe the data model (aka vocabulary) of your GraphQL endpoint? Something like RDFS or OWL.
- linkmotif 9y agoThis is entirely incorrect. GraphQL is a wrapper around your service layer, or worse, around a number of ad hoc data sources. That service layer or those data sources may query SPARQL services.
- lolive 9y agoSo GraphQL is a graph abstraction over REST APIs, at the cost of massive REST calls to rebuild a graph. True?
- lolive 9y agobasically yes: http://graphql.org/blog/rest-api-graphql-wrapper/ http://graphql.org/blog/rest-api-graphql-wrapper/
- linkmotif 9y agoYou can wrap REST APIs with GraphQL. And yeah, as you you mention, caching is usually important in such scenarios. In JS there's https://github.com/facebook/dataloader https://github.com/facebook/dataloader which help with the caching. I am using a Java implementation with Google's LoadingCache.