ROAD TO NODES - Intro to Neo4j + NeoDash.pdf

Neo4j
Neo4jOpen Source NOSQL Graph Database
© 2022 Neo4j, Inc. All rights reserved.
© 2022 Neo4j, Inc. All rights reserved.
Andreas Kollegger & Niels De Jong
ROAD TO NODES
Intro to Neo4j & Interactive
Dashboarding with NeoDash
© 2022 Neo4j, Inc. All rights reserved.
Today we will cover
● What is a graph database?
● How to query a graph database?
● Hands on: Low-code Dashboarding with NeoDash
● Bring your questions!
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
© 2022 Neo4j, Inc. All rights reserved.
Macbook
Graph Database
Fundamentals
Nodes
© 2022 Neo4j, Inc. All rights reserved.
Macbook
Graph Database
Fundamentals
Nodes
Nodes represent things
© 2022 Neo4j, Inc. All rights reserved.
Macbook
Product
Graph Database
Fundamentals
Nodes
Nodes represent things
Nodes can be identified by
one or more labels
© 2022 Neo4j, Inc. All rights reserved.
Macbook
Product
Graph Database
Fundamentals
Nodes
Nodes represent things
Nodes can be identified by
one or more labels
Fragile
© 2022 Neo4j, Inc. All rights reserved.
Macbook
Product
name: Macbook Pro
price: 2699.00
Graph Database
Fundamentals
Nodes
Nodes represent things
Nodes can be identified by
one or more labels
Nodes can hold properties
as key/value pairs
Fragile
© 2022 Neo4j, Inc. All rights reserved.
Customer
name: Andreas
email: andreas@neo4j.com
Graph Database
Fundamentals
Relationships
Product
name: Macbook Pro
price: 2699.00
© 2022 Neo4j, Inc. All rights reserved.
Customer
Graph Database
Fundamentals
Relationships
Product
name: Macbook Pro
price: 2699.00
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Customer
Graph Database
Fundamentals
Relationships
Relationships connect two nodes
Product
name: Macbook Pro
price: 2699.00
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Customer
Graph Database
Fundamentals
Relationships
Relationships connect two nodes
Relationships have a type
Product
name: Macbook Pro
price: 2699.00
RATED
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Relationships have a direction
Customer
Graph Database
Fundamentals
Relationships
Relationships connect two nodes
Relationships have a type
Product
name: Macbook Pro
price: 2699.00
RATED
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Relationships have a direction
Customer
Graph Database
Fundamentals
Relationships
Relationships connect two nodes
Relationships have a type
Product
name: Macbook Pro
price: 2699.00
RATED
stars: 3
createdAt: 2023-03-22
Relationships can hold properties
as key/value pairs
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
Graph Database
Fundamentals
Cypher
Introduction to Cypher
Cypher is a declarative language that allows
you to identify patterns in your data using
an ASCII-art style syntax consisting of
brackets, dashes and arrows.
Product
RATED
Customer
(c:Customer)-[r:RATED]->(p:Product)
© 2022 Neo4j, Inc. All rights reserved.
name: Adam
email: adam@neo4j.com
Graph Database
Fundamentals
The MATCH clause
Product
name: Macbook Pro
price: 2699.00
RATED
stars: 3
createdAt: 2023-03-22
MATCH (c:Customer)-[r:RATED]->(p:Product)
RETURN c.name AS customer, p.name AS product, r.stars
AS rating
Customer
name: Andreas
email: andreas@neo4j.com
© 2022 Neo4j, Inc. All rights reserved.
Building Neo4j Dashboards with
NeoDash
Niels de Jong
© 2022 Neo4j, Inc. All rights reserved.
What’s next?
Now that we have an understanding of Cypher, let's create a dashboard to
visualize our graph!
© 2022 Neo4j, Inc. All rights reserved.
© 2022 Neo4j, Inc. All rights reserved.
What is NeoDash?
NeoDash is an open-source, low-code Dashboard Builder for Neo4j. It
lets you build an interactive dashboard with tables, graphs, bar charts,
line charts, maps and more, in minutes.
👤
>1000 monthly
users
🌎
Used in
>100 countries
⭐
Used by dozens of
companies worldwide
󰟾
Neo4j Labs Project*
*Neo4j Labs projects are free, open-source tools that complement the Neo4j product suite. Check out https://neo4j.com/labs/
© 2022 Neo4j, Inc. All rights reserved.
The NeoDash Dashboard Editor
NeoDash key features:
- Use Cypher queries to populate reports
- Drag-and-drop interface
- If you know Cypher, you can create a dashboard in a matter of minutes
© 2022 Neo4j, Inc. All rights reserved.
An Extendable Framework
NeoDash is fully extendable to:
- Add/customize visualizations
- Add company branding
- Add new functionality
NeoDash
Editor
🧩
Custom user
logic
🧩
Custom
Visualizations
🧩
Rule-based
Styling
© 2022 Neo4j, Inc. All rights reserved.
The Dataset
RecipeNLG:
- 2.2M recipes
- With steps
- And ingredients
- Scraped from
cookbooks.com,
recipe-plus.com,
…
© 2022 Neo4j, Inc. All rights reserved.
Graph-Chef
With our recipe dataset loaded
into Neo4j, lets use NeoDash for:
1. Creating a search engine for
recipes
2. Avoiding food waste! Look up
recipes with what is in my fridge
3. Identifying common
combinations of ingredients.
What goes well together?
4. Cooking inspiration. Can we
create new recipes by looking at
graph patterns?
© 2022 Neo4j, Inc. All rights reserved.
Final note before getting started
We will be using Neo4j Aura for this demo.
You can create your own Neo4j Aura instance for free at https://neo4j.io.
You can access NeoDash at https://neodash.graphapp.io.
© 2022 Neo4j, Inc. All rights reserved.
Page 1 - Overview
We start off with some simple Cypher queries to analyze the graph.
- Show me the graph schema.
- How many recipes in total?
- How many ingredients in total?
- How many steps in total?
Looking at burgers:
- How many burger recipes?
- How many unique ingredients in burgers?
- How many steps on average to create a burger? Bar chart!
- What is the most complex burger? Graph
- What top 10 ingredients are common across burger recipes? Pie chart!
- Is there a preparation step that burger recipes share?
© 2022 Neo4j, Inc. All rights reserved.
Page 2 - Recipes
Moving on to slightly more complex queries, using parameters for interactivity.
Search functionality:
- Show me a graph of all ingredients for ‘Pear Pancakes’.
- Turn it into a searchable widget.
- Show me also a table of ingredients, side-by-side.
- Add a table of steps.
- Try ‘Dutch Pancakes’. Do we see an interesting pattern?
© 2022 Neo4j, Inc. All rights reserved.
Page 3 - Ingredients
Finally we do some more complex queries to
demonstrate the power of Cypher.
Ingredient search:
- Create a search for ingredients
- Show a graph of recipes with the ingredient
- Common pairings with selected ingredient
Multi-ingredients:
- Change selector to multi-selector
- Fix the graph visualization to work with multiple
parameters
- Suggest ingredient pairings based on the set of
ingredients selected
// Subqueries with post-processing
UNWIND $neodash_ingredient_name as name
CALL {
WITH name
MATCH p=(i:Ingredient)-[:IN]-(r:Recipe)
WHERE i.name = name
RETURN r
}
WITH r, COUNT(r) as count
WHERE count = size($neodash_ingredient_name)
WITH r LIMIT 10
MATCH (r)-[in:IN]-(i:Ingredient)
RETURN r, in, i
// Using subqueries
UNWIND $neodash_ingredient_name as name
CALL {
WITH name
MATCH p=(i:Ingredient)-[in:IN]-(r:Recipe)
WHERE i.name = name
RETURN i, in, r
LIMIT 10
}
RETURN i, in, r
// Even more post-processing!
UNWIND $neodash_ingredient_name as name
CALL {
WITH name
MATCH p=(i:Ingredient)-[:IN]-(r:Recipe)
WHERE i.name = name
RETURN r
}
WITH r, COUNT(r) as count
WHERE count = size($neodash_ingredient_name)
WITH r
MATCH (r)-[in:IN]-(i:Ingredient)
WHERE NOT i.name in $neodash_ingredient_name
RETURN i.name, COUNT(r) ORDER BY COUNT(r) DESC
© 2022 Neo4j, Inc. All rights reserved.
Wrapping up
We will continue working on this dataset on October 26, at NODES 2023!
The recipe dataset will be published around this time.
Want to try out NeoDash in the meantime?
Visit https://neodash-gallery.graphapp.io for public demo dashboards.
1 de 37

Recomendados

Intermediate Cypher.pdf por
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdfNeo4j
258 vistas106 diapositivas
Open Architecture in the Adobe Marketing Cloud - Summit 2014 por
Open Architecture in the Adobe Marketing Cloud - Summit 2014Open Architecture in the Adobe Marketing Cloud - Summit 2014
Open Architecture in the Adobe Marketing Cloud - Summit 2014Paolo Mottadelli
6.8K vistas48 diapositivas
NeoDash - Building Neo4j Dashboards In Minutes por
NeoDash - Building Neo4j Dashboards In MinutesNeoDash - Building Neo4j Dashboards In Minutes
NeoDash - Building Neo4j Dashboards In MinutesNeo4j
225 vistas15 diapositivas
Neo4j: The path to success with Graph Database and Graph Data Science por
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j: The path to success with Graph Database and Graph Data Science
Neo4j: The path to success with Graph Database and Graph Data ScienceNeo4j
83 vistas44 diapositivas
GPT and Graph Data Science to power your Knowledge Graph por
GPT and Graph Data Science to power your Knowledge GraphGPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge GraphNeo4j
269 vistas49 diapositivas
18 facets of the OpenAPI specification - Cisco Live US 2023 por
18 facets of the OpenAPI specification - Cisco Live US 202318 facets of the OpenAPI specification - Cisco Live US 2023
18 facets of the OpenAPI specification - Cisco Live US 2023Cisco DevNet
24 vistas74 diapositivas

Más contenido relacionado

Similar a ROAD TO NODES - Intro to Neo4j + NeoDash.pdf

Training Series - Intro to Neo4j por
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4jNeo4j
176 vistas76 diapositivas
Ultime Novità di Prodotto Neo4j por
Ultime Novità di Prodotto Neo4j Ultime Novità di Prodotto Neo4j
Ultime Novità di Prodotto Neo4j Neo4j
62 vistas26 diapositivas
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx por
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j
55 vistas27 diapositivas
Postgres: The NoSQL Cake You Can Eat por
Postgres: The NoSQL Cake You Can EatPostgres: The NoSQL Cake You Can Eat
Postgres: The NoSQL Cake You Can EatEDB
2.4K vistas32 diapositivas
Optimizing Your Supply Chain with Neo4j por
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jNeo4j
30 vistas39 diapositivas
Master Real-Time Streams With Neo4j and Apache Kafka por
Master Real-Time Streams With Neo4j and Apache KafkaMaster Real-Time Streams With Neo4j and Apache Kafka
Master Real-Time Streams With Neo4j and Apache KafkaNeo4j
317 vistas59 diapositivas

Similar a ROAD TO NODES - Intro to Neo4j + NeoDash.pdf(20)

Training Series - Intro to Neo4j por Neo4j
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4j
Neo4j176 vistas
Ultime Novità di Prodotto Neo4j por Neo4j
Ultime Novità di Prodotto Neo4j Ultime Novità di Prodotto Neo4j
Ultime Novità di Prodotto Neo4j
Neo4j62 vistas
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx por Neo4j
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptxNeo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Neo4j55 vistas
Postgres: The NoSQL Cake You Can Eat por EDB
Postgres: The NoSQL Cake You Can EatPostgres: The NoSQL Cake You Can Eat
Postgres: The NoSQL Cake You Can Eat
EDB2.4K vistas
Optimizing Your Supply Chain with Neo4j por Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
Neo4j30 vistas
Master Real-Time Streams With Neo4j and Apache Kafka por Neo4j
Master Real-Time Streams With Neo4j and Apache KafkaMaster Real-Time Streams With Neo4j and Apache Kafka
Master Real-Time Streams With Neo4j and Apache Kafka
Neo4j317 vistas
Graphs for Enterprise Architects por Neo4j
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise Architects
Neo4j2.8K vistas
EDB NoSQL German Webinar 2015 por EDB
EDB NoSQL German Webinar 2015EDB NoSQL German Webinar 2015
EDB NoSQL German Webinar 2015
EDB805 vistas
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow por Neo4j
Nordics Edition - The Neo4j Graph Data Platform Today & TomorrowNordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow
Neo4j44 vistas
Neo4j in a Microsoft Shop por Neo4j
Neo4j in a Microsoft ShopNeo4j in a Microsoft Shop
Neo4j in a Microsoft Shop
Neo4j7 vistas
Neo4j GraphTour New York_ Adobe Presentation_David Fox por Neo4j
Neo4j GraphTour New York_ Adobe Presentation_David FoxNeo4j GraphTour New York_ Adobe Presentation_David Fox
Neo4j GraphTour New York_ Adobe Presentation_David Fox
Neo4j173 vistas
The Neo4j Data Platform for Today & Tomorrow.pdf por Neo4j
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j157 vistas
Forge - DevCon 2017, Darmstadt Germany: Moving to Forge and the Cloud with yo... por Autodesk
Forge - DevCon 2017, Darmstadt Germany: Moving to Forge and the Cloud with yo...Forge - DevCon 2017, Darmstadt Germany: Moving to Forge and the Cloud with yo...
Forge - DevCon 2017, Darmstadt Germany: Moving to Forge and the Cloud with yo...
Autodesk 724 vistas
Docs as Code: Publishing Processes for API Experiences por Anne Gentle
Docs as Code: Publishing Processes for API ExperiencesDocs as Code: Publishing Processes for API Experiences
Docs as Code: Publishing Processes for API Experiences
Anne Gentle64 vistas
GraphTalk Copenhagen - Introduction to Graphs and Neo4j por Neo4j
GraphTalk Copenhagen - Introduction to Graphs and Neo4jGraphTalk Copenhagen - Introduction to Graphs and Neo4j
GraphTalk Copenhagen - Introduction to Graphs and Neo4j
Neo4j253 vistas
Road to NODES Workshop Series - Intro to Neo4j por Neo4j
Road to NODES Workshop Series - Intro to Neo4jRoad to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4j
Neo4j306 vistas
Neo4j Aura on AWS: The Customer Choice for Graph Databases por Neo4j
Neo4j Aura on AWS: The Customer Choice for Graph DatabasesNeo4j Aura on AWS: The Customer Choice for Graph Databases
Neo4j Aura on AWS: The Customer Choice for Graph Databases
Neo4j256 vistas
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... por VMware Tanzu
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
VMware Tanzu224 vistas
INTERFACE, by apidays - Lessons learned from implementing our custom ‘Big Da... por apidays
INTERFACE, by apidays  - Lessons learned from implementing our custom ‘Big Da...INTERFACE, by apidays  - Lessons learned from implementing our custom ‘Big Da...
INTERFACE, by apidays - Lessons learned from implementing our custom ‘Big Da...
apidays173 vistas
The 12 facets of the OpenAPI standard.pdf por Cisco DevNet
The 12 facets of the OpenAPI standard.pdfThe 12 facets of the OpenAPI standard.pdf
The 12 facets of the OpenAPI standard.pdf
Cisco DevNet38 vistas

Más de Neo4j

FIMA 2023 Neo4j & FS - Entity Resolution.pptx por
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
8 vistas26 diapositivas
Operations & Data Graph por
Operations & Data GraphOperations & Data Graph
Operations & Data GraphNeo4j
42 vistas25 diapositivas
TAGTTOO: La nova xarxa social por
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa socialNeo4j
26 vistas19 diapositivas
El Arte de lo Possible por
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo PossibleNeo4j
48 vistas35 diapositivas
Neo4j y GenAI por
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI Neo4j
54 vistas41 diapositivas
Roadmap y Novedades de producto por
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de productoNeo4j
56 vistas33 diapositivas

Más de Neo4j(20)

FIMA 2023 Neo4j & FS - Entity Resolution.pptx por Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j8 vistas
Operations & Data Graph por Neo4j
Operations & Data GraphOperations & Data Graph
Operations & Data Graph
Neo4j42 vistas
TAGTTOO: La nova xarxa social por Neo4j
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa social
Neo4j26 vistas
El Arte de lo Possible por Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j48 vistas
Neo4j y GenAI por Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j54 vistas
Roadmap y Novedades de producto por Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j56 vistas
Neo4j : Graphes de Connaissance, IA et LLMs por Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j53 vistas
Les nouveautés produit Neo4j por Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j31 vistas
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu... por Neo4j
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu...
Neo4j27 vistas
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com... por Neo4j
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com...
Neo4j54 vistas
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf por Neo4j
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdfNeo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j58 vistas
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf por Neo4j
Neo4j workshop at GraphSummit London 14 Nov 2023.pdfNeo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf
Neo4j53 vistas
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx por Neo4j
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptxNeo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx
Neo4j66 vistas
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx por Neo4j
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptxAstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
Neo4j45 vistas
Google Cloud at GraphSummit London 14 Nov 2023.pptx por Neo4j
Google Cloud at GraphSummit London 14 Nov 2023.pptxGoogle Cloud at GraphSummit London 14 Nov 2023.pptx
Google Cloud at GraphSummit London 14 Nov 2023.pptx
Neo4j27 vistas
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov... por Neo4j
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov...
Neo4j77 vistas
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx por Neo4j
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptxNorthern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx
Neo4j46 vistas
Peek into Neo4j Product Strategy and Roadmap por Neo4j
Peek into Neo4j Product Strategy and RoadmapPeek into Neo4j Product Strategy and Roadmap
Peek into Neo4j Product Strategy and Roadmap
Neo4j87 vistas
Transforming Intelligence Analysis with Knowledge Graphs por Neo4j
Transforming Intelligence Analysis with Knowledge GraphsTransforming Intelligence Analysis with Knowledge Graphs
Transforming Intelligence Analysis with Knowledge Graphs
Neo4j61 vistas
Knowledge Graphs and Generative AI por Neo4j
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
Neo4j148 vistas

Último

Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... por
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
6 vistas29 diapositivas
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... por
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...Marc Müller
40 vistas62 diapositivas
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... por
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...NimaTorabi2
12 vistas17 diapositivas
nintendo_64.pptx por
nintendo_64.pptxnintendo_64.pptx
nintendo_64.pptxpaiga02016
5 vistas7 diapositivas
Programming Field por
Programming FieldProgramming Field
Programming Fieldthehardtechnology
5 vistas9 diapositivas
Airline Booking Software por
Airline Booking SoftwareAirline Booking Software
Airline Booking SoftwareSharmiMehta
6 vistas26 diapositivas

Último(20)

Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... por TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 vistas
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... por Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller40 vistas
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... por NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi212 vistas
Airline Booking Software por SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta6 vistas
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... por Marc Müller
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Marc Müller41 vistas
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... por Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri860 vistas
FOSSLight Community Day 2023-11-30 por Shane Coughlan
FOSSLight Community Day 2023-11-30FOSSLight Community Day 2023-11-30
FOSSLight Community Day 2023-11-30
Shane Coughlan5 vistas
SUGCON ANZ Presentation V2.1 Final.pptx por Jack Spektor
SUGCON ANZ Presentation V2.1 Final.pptxSUGCON ANZ Presentation V2.1 Final.pptx
SUGCON ANZ Presentation V2.1 Final.pptx
Jack Spektor23 vistas
Sprint 226 por ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ5 vistas
The Era of Large Language Models.pptx por AbdulVahedShaik
The Era of Large Language Models.pptxThe Era of Large Language Models.pptx
The Era of Large Language Models.pptx
AbdulVahedShaik6 vistas
AI and Ml presentation .pptx por FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8712 vistas
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h... por Deltares
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
Deltares9 vistas
Software evolution understanding: Automatic extraction of software identifier... por Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...

ROAD TO NODES - Intro to Neo4j + NeoDash.pdf

  • 1. © 2022 Neo4j, Inc. All rights reserved. © 2022 Neo4j, Inc. All rights reserved. Andreas Kollegger & Niels De Jong ROAD TO NODES Intro to Neo4j & Interactive Dashboarding with NeoDash
  • 2. © 2022 Neo4j, Inc. All rights reserved. Today we will cover ● What is a graph database? ● How to query a graph database? ● Hands on: Low-code Dashboarding with NeoDash ● Bring your questions!
  • 3. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals
  • 4. © 2022 Neo4j, Inc. All rights reserved. Macbook Graph Database Fundamentals Nodes
  • 5. © 2022 Neo4j, Inc. All rights reserved. Macbook Graph Database Fundamentals Nodes Nodes represent things
  • 6. © 2022 Neo4j, Inc. All rights reserved. Macbook Product Graph Database Fundamentals Nodes Nodes represent things Nodes can be identified by one or more labels
  • 7. © 2022 Neo4j, Inc. All rights reserved. Macbook Product Graph Database Fundamentals Nodes Nodes represent things Nodes can be identified by one or more labels Fragile
  • 8. © 2022 Neo4j, Inc. All rights reserved. Macbook Product name: Macbook Pro price: 2699.00 Graph Database Fundamentals Nodes Nodes represent things Nodes can be identified by one or more labels Nodes can hold properties as key/value pairs Fragile
  • 9. © 2022 Neo4j, Inc. All rights reserved. Customer name: Andreas email: andreas@neo4j.com Graph Database Fundamentals Relationships Product name: Macbook Pro price: 2699.00
  • 10. © 2022 Neo4j, Inc. All rights reserved. Customer Graph Database Fundamentals Relationships Product name: Macbook Pro price: 2699.00 name: Andreas email: andreas@neo4j.com
  • 11. © 2022 Neo4j, Inc. All rights reserved. Customer Graph Database Fundamentals Relationships Relationships connect two nodes Product name: Macbook Pro price: 2699.00 name: Andreas email: andreas@neo4j.com
  • 12. © 2022 Neo4j, Inc. All rights reserved. Customer Graph Database Fundamentals Relationships Relationships connect two nodes Relationships have a type Product name: Macbook Pro price: 2699.00 RATED name: Andreas email: andreas@neo4j.com
  • 13. © 2022 Neo4j, Inc. All rights reserved. Relationships have a direction Customer Graph Database Fundamentals Relationships Relationships connect two nodes Relationships have a type Product name: Macbook Pro price: 2699.00 RATED name: Andreas email: andreas@neo4j.com
  • 14. © 2022 Neo4j, Inc. All rights reserved. Relationships have a direction Customer Graph Database Fundamentals Relationships Relationships connect two nodes Relationships have a type Product name: Macbook Pro price: 2699.00 RATED stars: 3 createdAt: 2023-03-22 Relationships can hold properties as key/value pairs name: Andreas email: andreas@neo4j.com
  • 15. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows.
  • 16. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer
  • 17. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer
  • 18. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 19. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 20. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 21. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 22. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 23. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 24. © 2022 Neo4j, Inc. All rights reserved. Graph Database Fundamentals Cypher Introduction to Cypher Cypher is a declarative language that allows you to identify patterns in your data using an ASCII-art style syntax consisting of brackets, dashes and arrows. Product RATED Customer (c:Customer)-[r:RATED]->(p:Product)
  • 25. © 2022 Neo4j, Inc. All rights reserved. name: Adam email: adam@neo4j.com Graph Database Fundamentals The MATCH clause Product name: Macbook Pro price: 2699.00 RATED stars: 3 createdAt: 2023-03-22 MATCH (c:Customer)-[r:RATED]->(p:Product) RETURN c.name AS customer, p.name AS product, r.stars AS rating Customer name: Andreas email: andreas@neo4j.com
  • 26. © 2022 Neo4j, Inc. All rights reserved. Building Neo4j Dashboards with NeoDash Niels de Jong
  • 27. © 2022 Neo4j, Inc. All rights reserved. What’s next? Now that we have an understanding of Cypher, let's create a dashboard to visualize our graph!
  • 28. © 2022 Neo4j, Inc. All rights reserved. © 2022 Neo4j, Inc. All rights reserved. What is NeoDash? NeoDash is an open-source, low-code Dashboard Builder for Neo4j. It lets you build an interactive dashboard with tables, graphs, bar charts, line charts, maps and more, in minutes. 👤 >1000 monthly users 🌎 Used in >100 countries ⭐ Used by dozens of companies worldwide 󰟾 Neo4j Labs Project* *Neo4j Labs projects are free, open-source tools that complement the Neo4j product suite. Check out https://neo4j.com/labs/
  • 29. © 2022 Neo4j, Inc. All rights reserved. The NeoDash Dashboard Editor NeoDash key features: - Use Cypher queries to populate reports - Drag-and-drop interface - If you know Cypher, you can create a dashboard in a matter of minutes
  • 30. © 2022 Neo4j, Inc. All rights reserved. An Extendable Framework NeoDash is fully extendable to: - Add/customize visualizations - Add company branding - Add new functionality NeoDash Editor 🧩 Custom user logic 🧩 Custom Visualizations 🧩 Rule-based Styling
  • 31. © 2022 Neo4j, Inc. All rights reserved. The Dataset RecipeNLG: - 2.2M recipes - With steps - And ingredients - Scraped from cookbooks.com, recipe-plus.com, …
  • 32. © 2022 Neo4j, Inc. All rights reserved. Graph-Chef With our recipe dataset loaded into Neo4j, lets use NeoDash for: 1. Creating a search engine for recipes 2. Avoiding food waste! Look up recipes with what is in my fridge 3. Identifying common combinations of ingredients. What goes well together? 4. Cooking inspiration. Can we create new recipes by looking at graph patterns?
  • 33. © 2022 Neo4j, Inc. All rights reserved. Final note before getting started We will be using Neo4j Aura for this demo. You can create your own Neo4j Aura instance for free at https://neo4j.io. You can access NeoDash at https://neodash.graphapp.io.
  • 34. © 2022 Neo4j, Inc. All rights reserved. Page 1 - Overview We start off with some simple Cypher queries to analyze the graph. - Show me the graph schema. - How many recipes in total? - How many ingredients in total? - How many steps in total? Looking at burgers: - How many burger recipes? - How many unique ingredients in burgers? - How many steps on average to create a burger? Bar chart! - What is the most complex burger? Graph - What top 10 ingredients are common across burger recipes? Pie chart! - Is there a preparation step that burger recipes share?
  • 35. © 2022 Neo4j, Inc. All rights reserved. Page 2 - Recipes Moving on to slightly more complex queries, using parameters for interactivity. Search functionality: - Show me a graph of all ingredients for ‘Pear Pancakes’. - Turn it into a searchable widget. - Show me also a table of ingredients, side-by-side. - Add a table of steps. - Try ‘Dutch Pancakes’. Do we see an interesting pattern?
  • 36. © 2022 Neo4j, Inc. All rights reserved. Page 3 - Ingredients Finally we do some more complex queries to demonstrate the power of Cypher. Ingredient search: - Create a search for ingredients - Show a graph of recipes with the ingredient - Common pairings with selected ingredient Multi-ingredients: - Change selector to multi-selector - Fix the graph visualization to work with multiple parameters - Suggest ingredient pairings based on the set of ingredients selected // Subqueries with post-processing UNWIND $neodash_ingredient_name as name CALL { WITH name MATCH p=(i:Ingredient)-[:IN]-(r:Recipe) WHERE i.name = name RETURN r } WITH r, COUNT(r) as count WHERE count = size($neodash_ingredient_name) WITH r LIMIT 10 MATCH (r)-[in:IN]-(i:Ingredient) RETURN r, in, i // Using subqueries UNWIND $neodash_ingredient_name as name CALL { WITH name MATCH p=(i:Ingredient)-[in:IN]-(r:Recipe) WHERE i.name = name RETURN i, in, r LIMIT 10 } RETURN i, in, r // Even more post-processing! UNWIND $neodash_ingredient_name as name CALL { WITH name MATCH p=(i:Ingredient)-[:IN]-(r:Recipe) WHERE i.name = name RETURN r } WITH r, COUNT(r) as count WHERE count = size($neodash_ingredient_name) WITH r MATCH (r)-[in:IN]-(i:Ingredient) WHERE NOT i.name in $neodash_ingredient_name RETURN i.name, COUNT(r) ORDER BY COUNT(r) DESC
  • 37. © 2022 Neo4j, Inc. All rights reserved. Wrapping up We will continue working on this dataset on October 26, at NODES 2023! The recipe dataset will be published around this time. Want to try out NeoDash in the meantime? Visit https://neodash-gallery.graphapp.io for public demo dashboards.