Expand Predicate

expand(...predicates...) is used to query for all given predicates, rather than listing them in the query. Calling


queries for all edges out of every node matched at that level in the query. Expand can be nested to then expand all predicates at the next level.

We’ll see later how to use expand with variables to query for a particular set of edges.

Endpoint: /query