Cypher

Cypher

Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it.

Example

One statement writes the film, the other reads it back.

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

Both are built around the same pattern, (:Person)-[:ACTED_IN]->(:Movie). CREATE stores it, and MATCH looks for it.

Lessons that use this term

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

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

Modeling and Importing Data into Neo4j Workshop22 mentions

Using Neo4j with .NET22 mentions

  • Your first queryThe Driverdo you execute a Cypher query and access the1 mention
  • Installing the driverThe Driverthe Cypher Fundamentals course, you learned how to query Neo4j using5 mentions

Using Neo4j with Go22 mentions

  • Your first queryThe Driverdo you execute a Cypher statement and access the1 mention
  • Installing the driverThe DriverIn the Cypher Fundamentals course, you learned how to query Neo4j using5 mentions
  • Transaction functionsBest practiceshave built an application that streams the results of a long-running Cypher statement to the1 mention

Using Neo4j with Java24 mentions

  • Executing queriesThe Driverdo you execute a Cypher statement and access the1 mention
  • Transaction functionsBest practiceshave built an application that streams the results of a long-running Cypher statement to the1 mention
  • Using the driverThe DriverCypher Fundamentals course, you learned how to query Neo4j using5 mentions
  • Graph typesHandling resultsLet's take a look at the types of data returned by a Cypher3 mentions

Using Neo4j with Python25 mentions

  • Your first queryThe Driverdo you execute a Cypher statement and access the1 mention
  • Installing the driverThe Driverthe Cypher Fundamentals course, you learned how to query Neo4j using5 mentions
  • Transaction functionsBest practiceshave built an application that streams the results of a long-running Cypher statement to the1 mention

Importing CSV data into Neo4j45 mentions

  • Add Director labelData Types, Lists, and Labelschallenge is to create a Cypher statement that adds the Director label to all Person nodes with a DIRECTED relationship to a2 mentions
  • Getting StartedImporting Datato "Importing CSV Data using Cypher3 mentions
  • Congratulations and Next StepsImporting data considerationsImport CSV data into Neo4j using Cypher3 mentions
  • Add the languages propertyData Types, Lists, and Labelschallenge is to modify this Cypher query to add the1 mention
  • DIRECTED relationshipCreating Nodes, Properties, and Relationshipschallenge is to write a Cypher statement to create the DIRECTED relationship between the Person and3 mentions
  • RelationshipsCreating Nodes, Properties, and Relationshipsthe Cypher statement below, which creates the ACTED_IN relationships between the Person and4 mentions

Neo4j Fundamentals25 mentions

Using Neo4j with LangChain53 mentions

  • Cypher QA ChainText to Cypherthis lesson, you will use the Cypher QA (question-answering) chain to query the graph using natural language15 mentions
  • Cypher GenerationText to Cypherimprove the accuracy of the generated Cypher queries you can customize the generation prompt for your data16 mentions
  • RetrieverText to Cypherthis lesson, you will use the GraphCypherQAChain to add a text to Cypher retriever to the LangChain9 mentions

Building Dashboards with Neo4j Aura25 mentions

  • Ask AISharing your dashboardlesson you can use the Learning Assistant to ask questions about dashboards, Cypher, and the Movies sample data (or your own1 mention

Building Agents in Neo4j Aura73 mentions

Neo4j and Generative AI Workshop44 mentions

  • Text to Cypher retrieverRetrievalthat can answer natural language questions by generating and executing Cypher queries against the knowledge10 mentions
  • Create an agentAgentsanswer user queries based on the knowledge graph, these could include: Cypher query tools that run Cypher queries against the graph and return the results Vector + Cypher retrievers to4 mentions

Cypher Fundamentals34 mentions

Intermediate Cypher Queries49 mentions

  • Parameters in CypherUsing Parametersyou test your Cypher statements, you will use a variety literal values to ensure that your Cypher queries are13 mentions

Constructing Knowledge Graphs with Neo4j GraphRAG for Python20 mentions

  • Text to Cypher retrieverRetrievalthat can answer natural language questions by generating and executing Cypher queries against the knowledge7 mentions

Graph Data Modeling Fundamentals48 mentions

  • RefactoringRefactoring the GraphThe Cypher for the use cases does not perform optimally, especially when the graph3 mentions
  • Creating NodesModeling Nodesthe Cypher code below2 mentions
  • Adding Language nodesEliminating Duplicate Datais the Cypher code for the use case before the2 mentions
  • Testing with Instance ModelTesting the Modelthis challenge, you will test each use case against the graph by executing Cypher11 mentions
  • Retesting with Actor LabelRefactoring the Graphthis Cypher code to test this use case using the movie, Sleepless in6 mentions

Neo4j & GenerativeAI Fundamentals34 mentions

  • Text to Cypher RetrieverIntegrating Neo4j with Generative AIto Cypher retrievers allow you to convert natural language queries into Cypher queries that can be executed against the14 mentions

Introduction to Neo4j & GraphQL29 mentions

  • The @cypher DirectiveConfigure The APIGraphQL schema directive allows for defining custom logic using Cypher in the GraphQL16 mentions

Building Neo4j Applications with Spring Data27 mentions

  • The Neo4j Type SystemThe Application Domain Modelthis point, you need to know the Cypher type system to map database entities to domain12 mentions

All glossary terms