3 ms·
I feel like graph languages can be so esoteric. It would be nice to have something closer to RDF, but with filter syntax, and the ability to group filters. I'v
by staticassertion 5y ago
I feel like graph languages can be so esoteric. It would be nice to have something closer to RDF, but with filter syntax, and the ability to group filters.
I've never built a language, so maybe I'm just crazy, but what's wrong with, say,
https://gist.github.com/insanitybit/cd997e8d367889708edc3ec221b89430 https://gist.github.com/insanitybit/cd997e8d367889708edc3ec2...
Basically I defined the subject in a sort of 'namespace' of constraints ("parent", "children", etc), and then the edge or predicate constraint on it.
I guess it's easy to just "make up" a language, and implementing is the difficult part, and then it's like "ok well then how do you solve <some unanticipated problem because idk what I'm even talking about>" but also, graphql, as much as it isn't good for a database API, is also quite straightforward and familiar looking and I feel like taking something like rdf as a basis would be reasonable.
- Jeff_Brown 5y agoI wrote a language that's very close to natural language for writing to and querying a RSLT, a kind of higher order graph. https://github.com/JeffreyBenjaminBrown/hode/blob/master/docs/hash/the-hash-language.md https://github.com/JeffreyBenjaminBrown/hode/blob/master/doc...