ROAD TO NODES - Intro to Neo4j + NeoDash.pdf

Neo4j
Neo4jOpen Source NOSQL Graph Database um Neo4j
© 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 von 37

Recomendados

Intermediate Cypher.pdf von
Intermediate Cypher.pdfIntermediate Cypher.pdf
Intermediate Cypher.pdfNeo4j
256 views106 Folien
Open Architecture in the Adobe Marketing Cloud - Summit 2014 von
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 views48 Folien
NeoDash - Building Neo4j Dashboards In Minutes von
NeoDash - Building Neo4j Dashboards In MinutesNeoDash - Building Neo4j Dashboards In Minutes
NeoDash - Building Neo4j Dashboards In MinutesNeo4j
225 views15 Folien
Neo4j: The path to success with Graph Database and Graph Data Science von
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
82 views44 Folien
GPT and Graph Data Science to power your Knowledge Graph von
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
268 views49 Folien
18 facets of the OpenAPI specification - Cisco Live US 2023 von
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 views74 Folien

Más contenido relacionado

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

Training Series - Intro to Neo4j von
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4jNeo4j
175 views76 Folien
Ultime Novità di Prodotto Neo4j von
Ultime Novità di Prodotto Neo4j Ultime Novità di Prodotto Neo4j
Ultime Novità di Prodotto Neo4j Neo4j
62 views26 Folien
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx von
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
49 views27 Folien
Postgres: The NoSQL Cake You Can Eat von
Postgres: The NoSQL Cake You Can EatPostgres: The NoSQL Cake You Can Eat
Postgres: The NoSQL Cake You Can EatEDB
2.4K views32 Folien
Optimizing Your Supply Chain with Neo4j von
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jNeo4j
30 views39 Folien
Master Real-Time Streams With Neo4j and Apache Kafka von
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
316 views59 Folien

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

Training Series - Intro to Neo4j von Neo4j
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4j
Neo4j175 views
Ultime Novità di Prodotto Neo4j von Neo4j
Ultime Novità di Prodotto Neo4j Ultime Novità di Prodotto Neo4j
Ultime Novità di Prodotto Neo4j
Neo4j62 views
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx von 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
Neo4j49 views
Postgres: The NoSQL Cake You Can Eat von EDB
Postgres: The NoSQL Cake You Can EatPostgres: The NoSQL Cake You Can Eat
Postgres: The NoSQL Cake You Can Eat
EDB2.4K views
Optimizing Your Supply Chain with Neo4j von Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
Neo4j30 views
Master Real-Time Streams With Neo4j and Apache Kafka von 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
Neo4j316 views
Graphs for Enterprise Architects von Neo4j
Graphs for Enterprise ArchitectsGraphs for Enterprise Architects
Graphs for Enterprise Architects
Neo4j2.8K views
EDB NoSQL German Webinar 2015 von EDB
EDB NoSQL German Webinar 2015EDB NoSQL German Webinar 2015
EDB NoSQL German Webinar 2015
EDB805 views
Nordics Edition - The Neo4j Graph Data Platform Today & Tomorrow von 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 views
Neo4j in a Microsoft Shop von Neo4j
Neo4j in a Microsoft ShopNeo4j in a Microsoft Shop
Neo4j in a Microsoft Shop
Neo4j7 views
Neo4j GraphTour New York_ Adobe Presentation_David Fox von 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 views
The Neo4j Data Platform for Today & Tomorrow.pdf von 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 views
Forge - DevCon 2017, Darmstadt Germany: Moving to Forge and the Cloud with yo... von 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 views
Docs as Code: Publishing Processes for API Experiences von 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 views
GraphTalk Copenhagen - Introduction to Graphs and Neo4j von Neo4j
GraphTalk Copenhagen - Introduction to Graphs and Neo4jGraphTalk Copenhagen - Introduction to Graphs and Neo4j
GraphTalk Copenhagen - Introduction to Graphs and Neo4j
Neo4j253 views
Road to NODES Workshop Series - Intro to Neo4j von Neo4j
Road to NODES Workshop Series - Intro to Neo4jRoad to NODES Workshop Series - Intro to Neo4j
Road to NODES Workshop Series - Intro to Neo4j
Neo4j305 views
Neo4j Aura on AWS: The Customer Choice for Graph Databases von 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 views
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... von 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 views
INTERFACE, by apidays - Lessons learned from implementing our custom ‘Big Da... von 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 views
The 12 facets of the OpenAPI standard.pdf von 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 DevNet36 views

Más de Neo4j

FIMA 2023 Neo4j & FS - Entity Resolution.pptx von
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
3 views26 Folien
Operations & Data Graph von
Operations & Data GraphOperations & Data Graph
Operations & Data GraphNeo4j
31 views25 Folien
TAGTTOO: La nova xarxa social von
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa socialNeo4j
23 views19 Folien
El Arte de lo Possible von
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo PossibleNeo4j
38 views35 Folien
Neo4j y GenAI von
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI Neo4j
42 views41 Folien
Roadmap y Novedades de producto von
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de productoNeo4j
50 views33 Folien

Más de Neo4j(20)

FIMA 2023 Neo4j & FS - Entity Resolution.pptx von Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j3 views
Operations & Data Graph von Neo4j
Operations & Data GraphOperations & Data Graph
Operations & Data Graph
Neo4j31 views
TAGTTOO: La nova xarxa social von Neo4j
TAGTTOO: La nova xarxa socialTAGTTOO: La nova xarxa social
TAGTTOO: La nova xarxa social
Neo4j23 views
El Arte de lo Possible von Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j38 views
Neo4j y GenAI von Neo4j
Neo4j y GenAI Neo4j y GenAI
Neo4j y GenAI
Neo4j42 views
Roadmap y Novedades de producto von Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j50 views
Neo4j : Graphes de Connaissance, IA et LLMs von Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j47 views
Les nouveautés produit Neo4j von Neo4j
 Les nouveautés produit Neo4j Les nouveautés produit Neo4j
Les nouveautés produit Neo4j
Neo4j27 views
Sopra Steria : Analyse intelligente des réseaux dans le domaine des télécommu... von 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...
Neo4j25 views
Generali : SPIDER, notre produit au cœur des enjeux Generali en termes de Com... von 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...
Neo4j46 views
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf von 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
Neo4j54 views
Neo4j workshop at GraphSummit London 14 Nov 2023.pdf von 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
Neo4j47 views
Neo4j Product Updates & Knowledge Graphs at GraphSummit London 14 Nov 2023.pptx von 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
Neo4j62 views
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx von Neo4j
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptxAstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
AstraZeneca at Neo4j GraphSummit London 14Nov23.pptx
Neo4j40 views
Google Cloud at GraphSummit London 14 Nov 2023.pptx von 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
Neo4j25 views
The Art of the Possible with Graph - Sudhir Hasbe - GraphSummit London 14 Nov... von 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...
Neo4j76 views
Northern Gas Networks and CKDelta at Neo4j GraphSummit London 14Nov23.pptx von 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 views
Peek into Neo4j Product Strategy and Roadmap von Neo4j
Peek into Neo4j Product Strategy and RoadmapPeek into Neo4j Product Strategy and Roadmap
Peek into Neo4j Product Strategy and Roadmap
Neo4j87 views
Transforming Intelligence Analysis with Knowledge Graphs von Neo4j
Transforming Intelligence Analysis with Knowledge GraphsTransforming Intelligence Analysis with Knowledge Graphs
Transforming Intelligence Analysis with Knowledge Graphs
Neo4j60 views
Knowledge Graphs and Generative AI von Neo4j
Knowledge Graphs and Generative AIKnowledge Graphs and Generative AI
Knowledge Graphs and Generative AI
Neo4j136 views

Último

LAVADORA ROLO.docx von
LAVADORA ROLO.docxLAVADORA ROLO.docx
LAVADORA ROLO.docxSamuelRamirez83524
7 views1 Folie
Keep von
KeepKeep
KeepGeniusee
73 views10 Folien
Consulting for Data Monetization Maximizing the Profit Potential of Your Data... von
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Flexsin
15 views10 Folien
Software evolution understanding: Automatic extraction of software identifier... von
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...Ra'Fat Al-Msie'deen
7 views33 Folien
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... von
.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
38 views62 Folien
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... von
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...Deltares
7 views40 Folien

Último(20)

Consulting for Data Monetization Maximizing the Profit Potential of Your Data... von Flexsin
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Flexsin 15 views
Software evolution understanding: Automatic extraction of software identifier... von 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...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... von 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üller38 views
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... von Deltares
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
Deltares7 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... von 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 Onofri711 views
What Can Employee Monitoring Software Do?​ von wAnywhere
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere21 views
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... von Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 views
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut... von HCLSoftware
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
HCLSoftware6 views
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs von Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares7 views
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit... von Deltares
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
Deltares13 views
MariaDB stored procedures and why they should be improved von Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... von Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares9 views
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... von 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üller36 views
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... von Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares6 views
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols von Deltares
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
Deltares7 views

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.