typeql
typeql copied to clipboard
Analytics starting with a match query
This issue was originally posted by @haikalpribadi on 2018-04-12 13:47.
Improve analytics syntax, pass a match query as subgraph. e.g. degree:
match
$x isa person;
$y isa movie;
($x, $y) isa has-cast;
compute degree; persist true;
graql.match(
var(“x”).isa(“person”),
var(“y”).isa(“movie”),
var().rel(“y”).rel(“x”).isa(“has-cast”)
).compute().degree().execute();
This can NOT be done with the current version with TinkerPop.
This comment was originally posted by @haikalpribadi on 2018-04-13 01:54:15+02:00.
Yes! I would love to see this implemented! :) But I suppose, this won't be a priority for this month's release, yeah? Jason Liu
Analytics is currently not supported and will eventually be redesigned into a new form.