CALL gds.graph.project.cypher( "deps", "MATCH (a:Crate) RETURN id(a) AS id", "MATCH (a:Crate)-[:HAS_VERSION]->(v:Version) WITH a, v ORDER BY v.name DESC WITH a, collect(v.name)[0] AS vn MATCH (a:Crate)-[:HAS_VERSION]->(v:Version {name: vn})-[:DEPENDS_ON]->(c:Crate) RETURN id(a) AS source, id(c) AS target" ) YIELD graphName, nodeQuery, nodeCount, relationshipQuery, relationshipCount, projectMillis