marvin-hansen commented :
@larvinloy @thefliik
Gremlin can be used to perform any arbitrary graph query, but it lacks much of the intuitive and clean syntax made available by SPARQL.
As the DGraph engineers aleady have figured out, GrapQL alone doesn’t do the trick of querying an RDF graph effectively that’s why they came up with the +/- extension.
GraphQL and it’s extension still have some way to go but it’s certainly a very welcome addition to have a native GraphQL endpoint in DGraph.
I wouldn’t call Gremlin the worst, but I’m still left wondering why DGraph never even considered SPARQL as it’s specifically made for RDF graphs and is one of the very few mature query languages that can uniformly query graphs, relational data, XML, and JSON. Due to it’s strict predicate namespace, cross origin queries are a piece of cake in SPARQL and thus it’s pretty useful in complex system integration. At least you don’t have the foreign entity mess you have to deal with in an Apollo federation.
However, I haven’t seen anything about SPARQL so am I correct to assume that DGraph isn’t going into that direction?