Skip to main content
CALL statement in GQL invokes a Procedure

For each node find the number of incoming edges

Suppose we are interested in the number of highways flowing into each of the Highway: We can use the CALL statement to invoke and inline procedure as follows:

For each node list paths to all other nodes

We are interested in getting all paths from each to all other nodes:

Movie recommendations based on what the 1 degree connection and 2nd degree connection have watched

Recommend movies based on what account 1st and 2nd degree connection have watched: