The document introduces Cypher, a declarative query language used for graph databases, specifically with Neo4j. It covers key concepts such as graph pattern matching, the labeled property graph model, and provides examples of querying graphs with user and business data. Additionally, it discusses extending Cypher with procedures and functions, and provides resources for further learning.
Yelp Data ChallengeIn Neo4j
https://github.com/johnymontana/neo4j-datasets/tree/master/yelp
“Working With A Real-World Dataset In Neo4j”
https://youtu.be/oXziS-PPIUA
What Breweries NearMe That My Friends
Also Like Have The Highest Rating?
• MATCH …
• (node)-[:RELATIONSHIP]->(node)
• Predicates
• Aggregations
• Ordering
• Graph vs tabular data
40.
PROFILE / EXPLAIN
•Query execution plan
• Declarative vs imperative
• Performance tuning
41.
CREATE INDEX …
•Indexes are only used to find the starting point for queries.
Use index scans to look up
rows in tables and join them
with rows from other tables
Use indexes to find the starting
points for a query.
Relational
Graph