Graph Data Science

projection

An in-memory copy of part of your database that graph algorithms run against. You choose which nodes and relationships it holds.

Also written: projections, graph projection, graph projections

Learn more in Project a graph

Example

The database holds customers, products and categories.

cypher
MATCH (source:Customer)-[:BOUGHT]->(target:Product)
WITH gds.graph.project('purchases', source, target) AS g
RETURN g.graphName, g.nodeCount, g.relationshipCount

purchases holds four nodes and three relationships: the two customers, the two products and the [:BOUGHT] relationships joining them.

The (:Category) node and both [:IN_CATEGORY] relationships are not included.

Lessons that use this term

The lesson and course links below open in a new tab.

79 lessons use this term. The 40 with the highest term density are listed here.

Intermediate Cypher Queries11 mentions

  • Top MoviesPipelining Queriesquery uses WITH to return a map projection of the top 10 movies by IMDb3 mentions
  • Adding GenresPipelining Queriesthis query to add the genres to the map projection2 mentions

Building Neo4j Applications with Spring Data42 mentions

  • Spring Data Neo4j ProjectionsCustom Cypher for Read and Writelesson covers the basics of projections in Spring Data19 mentions
  • DTO-based projectionsCustom Cypher for Read and Writeyou can use DTO-based projections similarly to interface-based projections with a subset of existing domain class properties, DTO-based projections11 mentions
  • Interface-based projectionsCustom Cypher for Read and WriteInterface-based projections are a great place to7 mentions

Get started with Graph Data Science273 mentions

Aura Graph Analytics fundamentals43 mentions

  • Implicit sessionsAura Graph Analytics in the Aura WorkspaceHow to spin up a session and projection at the same time — known as an "implicit10 mentions
  • Standalone sessions from DataFramesFrom the Python clientBuild a small actor-collaboration projection from two DataFrames Visualize your projection with neo4j-viz Run PageRank on your projection Write everything8 mentions
  • Aura Graph Analytics workflowAura Graph Analytics in the Aura Workspacein AuraDB, an Aura Graph Analytics session created with get_or_create(), and graph projections created inside the9 mentions
  • The AGA workflow end to endFrom the Python clientthis step, and you'll either get a session too small for the projection or one larger than you need to pay7 mentions

Analyze Graph Data with Python55 mentions

  • GDS Workflows in PythonGDS Python ClientExecute the standard five-step GDS workflow in Python Create graph projections and inspect them using the Graph object Choose the right execution mode for different situations Work with15 mentions
  • From Cypher to Native ProjectionGDS Python ClientYou may have been using Cypher projections when working with GDS in the9 mentions
  • Running AlgorithmsGDS Python ClientChain algorithms together using mutate mode Stream combined results from projections Estimate memory requirements before3 mentions

Graph Data Science in Practice90 mentions

  • Projection Configuration for AlgorithmsGDS FoundationsSome algorithms need specific projection configurations to work correctly--or at23 mentions
  • The GDS WorkflowGDS Foundationsdata from analysis, enabling fast, iterative experimentation on an in-memory projection of your graph without modifying your original13 mentions
  • Projection PracticeGDS Foundationscreate both types of projections you learned10 mentions
  • Graph Projections and StructureGDS Foundationsshowing graph projection process affecting algorithm14 mentions
  • Algorithm CategoriesGDS FoundationsBefore diving into projections and hands-on work, let's map the3 mentions
  • Reducing Search Space with LouvainCommunity Detection for FraudCreate a heterogeneous graph projection for fraud analysis Run Louvain in stats and write modes Identify communities containing known fraudsters Focus6 mentions

AI on Your Lakehouse: Context Comes in Shapes, Not Queries12 mentions

  • Build the Themes ToolSurface Themes - Communitiesbuild skill/scripts/themes.py: the pipeline and renderer are given; the projection query is marked9 mentions

Path Finding with GDS4 mentions

All glossary terms