Hi Jeffrey,
at least two of the pages you link to reference the github of the
package, which has a very short example. That alone is not very
useful, but the magic seems to happen in the runMatch function. That function obviously comes
from is the package you linked to, so we know where to find the
source code. There you can see that runMatch basically
just calls runGraql.
(And it also presents the results in a somewhat nicer form than
pure json, but that's not relevant.) The runGraql function in turn is just a
few lines below in the source code and exposes that it does nothing more than call the graql.sh
shell script. So all the library does is to add a bit of Haskell
type checking on top of the Java+JavaScript+Bash proprietary
behemoth. That means even if someone has a Haskell program, the
core question is how to use the graql.sh
script – which is outside the scope of a Haskell mailing list I
suppose, but I hope the Grakn project has some documentation
about that.
Graql[1] is a (and stands for) graph query language. It is unusually expressive, allowing relationships to be members of other relationships[2] -- effectively, allowing one edge to be an endpoint of another edge.
Someone named Felix posted a Haskell library for generating Graql queries[3].
Does anyone have a Haskell program that not only generates but uses such a query?
--
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.