Get startedGet started for free

Querying your graph database

Now that you have your database set up, it's time to begin querying. You'll view the graph schema to refamiliarize yourself with the nodes and relationships, and then write a Cypher query to query the graph.

If you need help with writing or fixing your Cypher query, you can use the ask_chatgpt(text: str) function that we've defined for you, which accepts a string argument.

The graph you created previously is available for you to use.

This exercise is part of the course

Retrieval Augmented Generation (RAG) with LangChain

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Print the graph schema
print(____)
Edit and Run Code