I would like to run some graph data science algorithms on a sub spanning tree of nodes and relations of a larger graph. To get the spanning tree, I use the APOC library.
MATCH (e:Entity)
WHERE e.property in ["foo", "bar"] # some property condition
C...