Ad

Tuesday, February 18, 2020

Neo4j Graph Database Basics 2020

UI - Neo4j Browser

Neo4j Browser is the query workbench using JavaScript bolt under the hood.

Data Modeling

Neo4j can store direction one way but can query either ways. There are four main elements: node, can be labeled, similar to SQL table name, can have key property value pairs. Property can go on node or labels. 

Node
Relationship
Labels 

Cypher

Neo4j cypher query executed in session get back cursor of records

Cypher versus SQL Comparison

MATCH ~= FROM
WHERE ~= WHERE
RETURN ~= SELECT

View Schema
Call apoc to view schema
https://neo4j.com/developer/kb/viewing-schema-data-with-apoc/

Call - cypher keyword to call functions and procedures

Read more about user defined procedures source 11

You try write and customize your own procedure
Cypher styling and query guide source 12
APOC

11- https://neo4j.com/docs/java-reference/current/extending-neo4j/procedures-and-functions/procedures/
12- https://neo4j.com/docs/cypher-manual/current/styleguide/
Use cases for Neo4j
Salmon researchers, salmon hatchling in northern atmosphere
Neo4j for journalist
Panama paper is available as a sandbox dataset
Investigative journalist: panama paper paradise paper
Relationship model can be super insightful in data analysis and for relationship modeling, Neo4j is great. 

Can even use graph for chemicals drug discovery
Use for recommendation collaborative filtering
Fraud prevention 


Use graph when context matters. How did the data result happen? 

Graphing interaction data is also very useful. Relationship data is important.

Neo4j lead data scientist Alicia Frame PhD talks works on graph algorithms 

Learn Neo4j

Using the :play feature in Neo4j sandbox and sandbox datasets, you can give your cypher skill a try and get started with Neo4j. It is insightful, easy and a lot of fun. 

Neo4j 4.0

Advanced Neo4j Experts

You can become a Neo4j Ninja, Neo4j expert, and join the Neo4j Speaker Program. Neo4j investigative journalism program

Neo4j Community and Neo4j Universe

"GraphXR is a browser-based visual analytics platform that delivers unprecedented speed, power, and fluidity to anyone working with connected, high-dimensional, and big data." GraphXR in its own words. 

No comments:

Post a Comment

Bootstrap Basics

Bootstrap is a front end framework used to quickly design, organize and beautify a modern website. It generates css fast for common front ...