Cypher projection
A projection built from the rows a Cypher query returns, so it can hold nodes and relationships that are derived rather than stored.
Example
People and the films they acted in.
cypher
MATCH (source:Person)-[:ACTED_IN]->(target:Movie)
WITH gds.graph.project('people-movies', source, target) AS g
RETURN g.graphName, g.nodeCount, g.relationshipCountEvery row the query returns puts its source node, its target node and a relationship between the two into the projection. A query returning a person and a genre, with only films between them in the database, would project a relationship from one to the other just the same.
Lessons that use this term
The lesson and course links below open in a new tab.
13 lessons use this term. Results are ordered by term density.
Analyze Graph Data with Python6 mentions
- From Cypher to Native ProjectionGDS Python Clientlesson shows how to translate your Cypher projection knowledge into3 mentions
- GDS Workflows in PythonGDS Python Clientthe next lesson, you'll learn how to translate your Cypher projection knowledge to native projection in1 mention
- Dijkstra's Shortest PathAura Graph AnalyticsIn AGA, we use gds.graph.project.remote() with a Cypher projection1 mention
- Yen's K-Shortest PathsAura Graph AnalyticsWe use gds.graph.project() with a Cypher projection1 mention
Graph Data Science in Practice8 mentions
- The GDS WorkflowGDS Foundations-> Run -> Write workflow to any GDS analysis Create graph projections using Cypher projection syntax Run algorithms in different execution modes (stats, stream, mutate, write) Manage in-memory projections by7 mentions
- Graph Projections and StructureGDS Foundationsmost basic Cypher projection command looks like1 mention
Aura Graph Analytics fundamentals7 mentions
- Aura Graph Analytics workflowAura Graph Analytics in the Aura WorkspaceHow to project a graph from your AuraDB into the session with a Native or Cypher projection How to run an algorithm and write results back to AuraDB How to reuse a session across multiple3 mentions
- Drive AGA from the neo4j driverFrom the Python clientCypher projection is the same one you used in Module 2 Lesson1 mention
- Implicit sessionsAura Graph Analytics in the Aura WorkspaceCypher projection spins up an implicit session the same way — the config map goes in the fifth argument1 mention
- The AGA workflow end to endFrom the Python clientyou need to transform the graph — like deriving new relationships — stick with Cypher projection2 mentions
Get started with Graph Data Science6 mentions
- Project a graphGDS basic conceptsCypher projection, in which the node variables are named 'bananas' and2 mentions
- Understand the GDS workflowGDS basic conceptsthis course, you will deal only with Cypher projection3 mentions
- Challenge: Projection modeling and analysisEssential projection techniquesthe Cypher projection query and verify it was created successfully using1 mention