- [Instructor] I'm going to start in Neo4j…and select the previous database…from problem one as our starting point.…Create database, click open,…and start to start the Neo4j server,…and now let's open Neo4j browser.…Let's start by verifying our data model.…We'll say call db.schema, and we can see…that we have population prediction nodes…connected to county nodes, with a for county relationship.…
Now let's write our Cypher query.…This query will define how we want…to traverse the graph to answer our question.…There are a few components of the…query that define our graph traversal.…The first is the traversal pattern.…This is going to be a match statement…that takes the graph pattern we want to traverse,…but we also have our starting point filter…that defines the starting nodes or…sub graph for our traversal, and finally,…an aggregation, but we'll get to those in a moment.…
Let's define the match statement.…In this case, the pattern that we…want to traverse is population prediction,…traversing along the for county…relationship to a county node.…
Author
Released
9/19/2017- Strengths and weaknesses of Neo4j
- Data modeling
- Creating a database
- Joining data sets
- Modeling data for joining data sets
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning MySQL Development (2014)
with Sheeri Cabral2h 57m Beginner -
Database Clinic: SQLite
with Mark Niemann-Ross2h 10m Intermediate -
Database Clinic: MySQL
with Brad Wheeler1h 59m Intermediate
-
Introduction
-
Welcome1m 17s
-
The Database Clinic series1m 22s
-
-
1. Neo4j in Five Minutes
-
A brief overview of Neo4j3m 23s
-
-
2. Create a Database
-
Data modeling3m 52s
-
Creating a database3m 56s
-
Import data10m 27s
-
Query data3m 12s
-
3. Join Two Datasets
-
Join datasets2m 50s
-
Import data6m 26s
-
-
4. Search a Database
-
Database search1m 51s
-
Query the database5m 22s
-
Finalize the database query3m 34s
-
-
5. Create, Read, Update, and Delete Operations
-
CRUD operations2m 31s
-
Create operations in Neo4j8m 36s
-
Update operations in Neo4j8m 11s
-
Delete operations in Neo4j3m 44s
-
Read operations in Neo4j3m 43s
-
-
6. Averages and Calculations
-
Calculations1m 59s
-
Update the data model3m 36s
-
Refactor the data model10m 22s
-
Import data for calculations5m 52s
-
Perform calculations7m 55s
-
-
Conclusion
-
Next steps1m 44s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Query the database