Home Explore Blog CI



docker

5th chunk of `content/guides/genai-leveraging-rag/index.md`
408e20891f6539a473b07244f95815fb2fb7a0a385c20a7a00000001000002a8



After the import is successful, we can access Neo4j to verify the data. 

After logging in to [http://localhost:7474/](http://localhost:7474/) using the credentials from the `.env` file, you can run queries on Neo4j. Using the Neo4j Cypher query language, you can check for the data stored in the database.

To count the data, run the following query:

```cypher
MATCH (n)
RETURN DISTINCT labels(n) AS NodeTypes, count(*) AS Count
ORDER BY Count DESC;
```

To execute this query, write in the box on the top and select the blue run button.


Title: Verifying the Imported Data in Neo4j
Summary
After successfully importing the Apache NiFi data into Neo4j, the user is instructed to log in to the Neo4j interface using credentials from the .env file. The user can then execute Cypher queries to verify the data. The provided example query counts the number of nodes of each type stored in the database.