Graphs

relationship

A named, directed connection between two nodes. Every relationship has a type, a start node and an end node.

Also written: relationships

Example

One relationship, joining Tom Hanks to a film he acted in.

cypher
CREATE (:Person {name: 'Tom Hanks'})-[:ACTED_IN]->(:Movie {title: 'Toy Story'})

Its relationship type is ACTED_IN. The Tom Hanks node is the start node, and the Toy Story node is the end node. The arrow points from one to the other.

Lessons that use this term

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

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

Neo4j Management, Optimization, and Refactoring Workshop73 mentions

Importing CSV data into Neo4j40 mentions

  • DIRECTED relationshipCreating Nodes, Properties, and Relationshipscomplete this challenge, you will need to create the DIRECTED relationships between the Person and Movie7 mentions
  • RelationshipsCreating Nodes, Properties, and RelationshipsLearn how to create relationships based on data in a CSV file Create ACTED_IN relationships between the Person and Movie12 mentions
  • Add Director labelData Types, Lists, and Labelsthat adds the Director label to all Person nodes with a DIRECTED relationship to a2 mentions

Graph Data Modeling Fundamentals142 mentions

Importing Data into Neo4j Workshop44 mentions

  • Creating RelationshipsNeo4j Data ImporterIn this lesson, you will learn how to create relationships between19 mentions
  • Add Users RatingsNeo4j Data Importerwill create a new node for each User and a RATED relationship between the User and the8 mentions
  • How to Model DataImporting data into Neo4jNoun node connected to another Noun node by a VERB relationship11 mentions

Importing Data Fundamentals41 mentions

  • Creating RelationshipsNeo4j Import toolthis lesson, you will learn how to create relationships between22 mentions
  • Add Users RatingsNeo4j Import toolwill create a new node for each User and a RATED relationship between the User and the7 mentions

Cypher Fundamentals72 mentions

  • Creating RelationshipsWriting Data to Neo4jthis lesson you will learn how to write Cypher clauses to create relationships between existing nodes in the21 mentions
  • Creating a RelationshipWriting Data to Neo4japply what you have learned to find a node, create a new node, and create a relationship between4 mentions
  • Deleting DataWriting Data to Neo4jNodes Relationships Properties -15 mentions
  • Deleting EmilWriting Data to Neo4jthat the node has relationships to other nodes in the2 mentions

Introduction to Neo4j & GraphQL42 mentions

  • Adding RelationshipsGraphQL Queriesthe GraphQL type definitions from the previous lesson to include the RATED relationship between the User and5 mentions
  • GraphQL RelationshipsGraphQL Queriesadd relationships to a GraphQL API using the Neo4j GraphQL Library you use the @relationship GraphQL schema23 mentions

Intermediate Cypher Queries75 mentions

  • Using the CONTAINS PredicateFiltering Queriesthe query to filter by the role property of the ACTED_IN relationship1 mention
  • Adding GenresPipelining Queriesrelationship is used to created a list of actors for each3 mentions
  • Actors 2 Hops AwayGraph Traversalnames of actors that are 2 hops away from Robert Blake using the ACTED_IN relationship1 mention
  • Actors 4 Hops AwayGraph Traversalnames of actors that are 4 hops away from Robert Blake using the ACTED_IN relationship1 mention
  • Actors Up to 4 Hops AwayGraph Traversalof actors that are up to 4 hops away from Robert Blake using the ACTED_IN relationship1 mention

Using Neo4j with Go4 mentions

  • Accessing Graph TypesHandling resultsyour knowledge of how to access properties from nodes and types from relationships returned by the Neo4j Go1 mention

Get started with Graph Data Science241 mentions

LOAD CSV Data Import45 mentions

  • Creating Relationships from CSVImporting with LOAD CSVthe nodes on each side of the relationship23 mentions
  • Import RelationshipsImporting with LOAD CSVthis challenge, you will import Person nodes and then create ACTED_IN relationships connecting them to the Movie nodes you created10 mentions

Cypher Indexes and Constraints74 mentions

Modeling and Importing Data into Neo4j Workshop111 mentions

Building Neo4j Applications with Spring Data76 mentions

  • Mapping RelationshipsReading Data from Neo4jand people, but you haven't mapped the most unique part of the graph - relationships14 mentions

Introduction to Graph Databases Workshop71 mentions

  • Pattern MatchingGraph Databasesfinds all nodes with a label of Person, that have an outgoing ACTED_IN relationship to a node with a label of12 mentions

Zero to Production Hands-On Workshop94 mentions

  • Pattern MatchingGraph Databasesfinds all nodes with a label of Person, that have an outgoing ACTED_IN relationship to a node with a label of12 mentions

Graph Type Schema Enforcement49 mentions

Neo4j Fundamentals78 mentions

  • What is Neo4j?Graph Thinkingis a graph database that stores data as nodes and relationships16 mentions

GraphRAG Hackathon46 mentions

  • Querying with CypherIntroduction to GraphRAGRelationships connect nodes using dashes and an arrow for12 mentions

All glossary terms