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.
This exercise is part of the course
Graph RAG with LangChain and Neo4j
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
cypher = """
____ (n:Person)
RETURN *
"""