typeql icon indicating copy to clipboard operation
typeql copied to clipboard

Analytics starting with a match query

Open grabl opened this issue 6 years ago • 1 comments

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.

grabl avatar Sep 21 '18 21:09 grabl

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 

grabl avatar Sep 21 '18 21:09 grabl

Analytics is currently not supported and will eventually be redesigned into a new form.

flyingsilverfin avatar Jan 11 '23 09:01 flyingsilverfin