This chapter covers
- Introducing the Cypher query language syntax
- Creating nodes and relationships with Cypher
- Matching and retrieving data from the database
- Removing properties and deleting nodes and relationships
- Best practices for importing a CSV into a graph database
So far, you have learned a bit of graph theory and how to approach the property graph modeling process. Now, you will begin to learn how to perform network analysis through practical use cases. To follow the examples in this book, you need to set up a Neo4j development environment. If you need some help with the setup, I have added the Neo4j Development Environment appendix to help you get started.
This chapter will introduce Cypher query language clauses and best practices for importing data into a graph database. First, I will do a quick recap of using Cypher query language syntax to represent networks in a textual format. If you are already familiar with the Cypher query syntax, you can skip most of the chapter and just import the data as shown in the last section. Remember from the previous chapter, the Cypher syntax uses parenthesis to encapsulate a representation of a node.