Check out example codes for "neo4j command to run script file". It will help you in understanding the concepts better.

Code Example 1

$neo4j-home> cat examples.cypher | bin/cypher-shell -u neo4j -p <password> --format plain

Code Example 2

$neo4j-home> type examples.cypher | bin/cypher-shell.bat -u neo4j -p <password> --format plain

Learn ReactJs, React Native from akashmittal.com