IniziaInizia gratis

Writing Cypher statements

To retrieve information from Neo4j knowledge graphs for use in a Graph RAG workflow, you'll need to understand Neo4j's query language, Cypher. Eventually, this Cypher will be written by LLMs, but it's good to get a feel for it so you can validate it if needed.

Over the next few exercises, you'll build up a Cypher statement to find people who work at a company.

Questo esercizio fa parte del corso

Graph RAG with LangChain and Neo4j

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

cypher = """
____ (n:Person)
RETURN *
"""
Modifica ed esegui il codice