SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Introduction to Bloom
Lju Lazarevic
Developer Relations
@ElLazal
dev.neo4j.com/forum
dev.neo4j.com/chat
Neo4j, Inc. All rights reserved 2021
• Very hands on - you will be diving into Bloom to do everything from setting
it up, to exploring the data, to doing edits and changes!
• We will be importing a data set, so we will be using Cypher, but don’t
panic! We’ll give you the queries
2
Overview of the training
Neo4j, Inc. All rights reserved 2021
3
Overview of Bloom
Neo4j, Inc. All rights reserved 2021
Where is Bloom available?
• Neo4j Aura
• Neo4j Sandbox
• Neo4j Desktop
• As a plugin for Neo4j Server
Neo4j, Inc. All rights reserved 2021
There are two other components we’ll be visiting as part of the session:
• We recommend using Neo4j Sandbox for this session
◦ You may also use Neo4j Aura Free
• Neo4j Browser:
◦ We’ll use this to load our data
5
(A Brief) Introduction to Neo4j Aura and Browser
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
6
Getting up and running on Neo4j
Aura Free
Neo4j, Inc. All rights reserved 2021
Kaggle Olympics Data Set
• Summer and Winter Olympics from 1896 to
2016
• Source:
www.kaggle.com/heesoo37/120-years-of-oly
mpic-history-athletes-and-results
• We’re only using the Winter Games
All queries, data, etc.:
dev.neo4j.com/bloom-training-repo
7
Introduction to the data set
Neo4j, Inc. All rights reserved 2021
Setting up the database
Use Neo4j Sandbox:
• Go to dev.neo4j.com/try
• Sign in & click “Blank sandbox”
For Neo4j Aura Free:
• Go to dev.neo4j.com/aura-login
• Sign in & click “Create a database”
• Give your database a name
• Selected “Shared” database size
• Click “Create Database”
• Make a copy of the generated password - keep it safe!
Neo4j, Inc. All rights reserved 2021
Loading the data
• Copy all the queries from: http://dev.neo4j.com/bloom-training-1
• Click on open/Neo4j Browser to start the Browser
◦ Username: neo4j
• Paste the query into the query window and press the play button to start
• Don’t panic! We’ll do it together :)
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
10
Setting up the Perspective
Neo4j, Inc. All rights reserved 2021
11
Tour of Bloom
Neo4j, Inc. All rights reserved 2021
12
Tour of Bloom
Neo4j, Inc. All rights reserved 2021
13
Tour of Bloom
Neo4j, Inc. All rights reserved 2021
14
Tour of Bloom
Neo4j, Inc. All rights reserved 2021
When Bloom loads for the first time:
• Bloom will show all existing perspectives, and also offer to automatically
generate one
• Bloom’s analysis looks for disjointed sets within the label set (e.g. Person,
American, Employee, Customer, etc.) and try and group together
• Indexes on properties will enable searching on those directly
15
Getting started in Bloom
Neo4j, Inc. All rights reserved 2021
• Start the Bloom App
• You will be prompted to auto-generate
• Explore the auto-generated perspective:
◦ What categories have been loaded?
◦ What category properties have been selected to display?
• Try creating your own perspective:
◦ Click on ‘Choose a Perspective’ --> ’Create a Perspective’
◦ Add the categories
◦ Select properties to display
• Switch back to the auto-generated perspective
16
Your turn - create a perspective for the data set
Neo4j, Inc. All rights reserved 2021
You can explore your data by specifying:
• A property name
• A category
• A relationship type
You can further examine a node by:
• Double-clicking to bring up Card List
• Explore properties, relationships and
neighbors
17
Simple searches in Bloom
Neo4j, Inc. All rights reserved 2021
Look up Maxime Dufour-Lapointe:
• Explore the information about Maxime Dufour-Lapointe using the Card
List
• Try right-clicking the node and expand
◦ What more do we learn about Maxime Dufour-Lapointe?
◦ Expanding the Team node (cross-check the colour with the Category list on
the right), what more do we learn?
18
Your turn - tell me more about...
Neo4j, Inc. All rights reserved 2021
As well as assigning categories and properties, we can further configure the
perspective:
• We can exclude nodes and relationships completely
• We can add search phrases for commonly-executed queries (more on
that later)
• Once we’re finished configuring the perspective, we can export, import
and share it
19
Configuring Bloom
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
20
Bloom patterns and exploring the
data
Neo4j, Inc. All rights reserved 2021
As well as specifying a name/item/thing, we can express patterns consisting of
categories and relationships
E.g: Maxime Dufour-Lapointe part of Team competed in Event
or Maxime Dufour-Lapointe part of Team Event
or Maxime Dufour-Lapointe Team Event
or Maxime Dufour-Lapointe part of competed in
You don’t have to put all the relationships and Events, Bloom will fill the gaps
for you!
21
Building patterns
Neo4j, Inc. All rights reserved 2021
How would you find the answer to:
• What Olympic games was Yelena Dubok a part of?
How many different patterns can you come up with that provide the answer?
22
Your turn - mind the gap
Neo4j, Inc. All rights reserved 2021
We can start to build some interesting patterns when we understand the
model. We can:
• Search paths between two points
• Find hierarchies and dependencies
• Find more than one occurrence of something
23
Building upon patterns
Neo4j, Inc. All rights reserved 2021
Reveal different properties across a specific set of relationships and nodes
from a set start and end point
E.g. Elizabeth Lee "Beth" Heiden part of Team participated in Games
participated in Team part of Eric Arthur Heiden
24
Search paths between two points
Neo4j, Inc. All rights reserved 2021
Finding the occurrence of two or more Categories/Properties
Can be a single hop:
E.g. Games City Games
Can be across several hops:
E.g. Games Team Athlete Team Games
25
Finding more than one occurrence
Neo4j, Inc. All rights reserved 2021
We can also apply more fine-grained control in our Bloom phrases via the
properties that don’t have indexes
E.g. Games year 1972
Be aware this is case sensitive!
Accessing properties
Neo4j, Inc. All rights reserved 2021
• How many gold medals has Claudia Pechstein
won?
• How many teams has Lamine Guye been in?
• Can you find some athletes that have
represented more than one country?
• What different ways are Olivier Jenot and
• Patrice Servelle linked? (hint: think about the
paths that may link them)
27
Your turn - time to answer some questions!
Neo4j, Inc. All rights reserved 2021
We will from time to time want to hide/show parts of our results
We can select and deselect nodes to show:
• Shortest path
• Expand nodes
• Dismiss nodes
• Select an area
• Select a category
28
Interacting with the Workspace
Neo4j, Inc. All rights reserved 2021
We want to show just the athletes that have won more than one Gold Medal.
How would you display only the result nodes we’re interested in?
Have you noticed something else? Don’t worry if you haven’t, we’ll discuss it
shortly.
29
Your turn - just the athletes, please
Neo4j, Inc. All rights reserved 2021
Only 150-ish athletes are brought back that have won more than one gold
medal/more teams than athletes...
• Bloom uses internal limits to improve performance
• This may result in only a sample of data being returned
• You can adjust the limits in the settings
◦ Increasing the limit to 1200 brings back 580-ish athletes
30
A note on limits
Neo4j, Inc. All rights reserved 2021
Search phrases are a way of adding tailored, complex querying to Bloom, via
a user-friendly and intuitive phrase.
They can be extremely helpful:
• We can use search phrases for commonly-used patterns
• They can form the basis for production-ready common queries
• Provide helper functions
31
Search phrases
Neo4j, Inc. All rights reserved 2021
Wouldn’t it be nice to find Athletes without knowing their middle names? Let’s
add a search phrase for that!
• Add search phrases to find names
◦ Cypher code from: dev.neo4j.com/bloom-training-2
• Test out your search phrases!
32
Your turn - creating search phrases
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
33
Editing data in bloom
Neo4j, Inc. All rights reserved 2021
We also have some basic editing options available to us in Bloom. We can:
• Edit properties
• Duplicate nodes
• Create new nodes
• Create relationships between nodes
• Change labels
34
Editing the data
Neo4j, Inc. All rights reserved 2021
• Add a relationship between City and Country for Cities that have held the
Olympics more than once
• Feel free to search the City locations if you don’t know them off hand :)
35
Your turn - where are those cities?
Neo4j, Inc. All rights reserved 2021
This is only possible whilst you have write access to Neo4j. If you do not, you
will not be able to take advantage of these features
Other editing constraints:
• You can only create existing relationship types
• You cannot delete relationships or nodes
• You can only add existing properties
• You can only add properties to existing categories/labels
36
Note on editing
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Customizing and applying
rule-based styling
Neo4j, Inc. All rights reserved 2021
Your visualization, your way!
As well as tailoring what properties, nodes and relationships we do or do not
show, we can also:
• Add icons for nodes
• Change the default colors and sizes for nodes and relationships
• Add rule-based, dynamic styling for color and size based on:
◦ Existence conditions
◦ A specific range for properties
◦ Uniqueness of property values
Neo4j, Inc. All rights reserved 2021
Your turn - who’s the most connected athlete?
We are going to use the Page Rank scores we have on Athlete to Athlete,
based on shared Teams.
First of all, why not add some appropriate icons for all the nodes in use?
Using the dynamic sizing option, use the smallest and largest node sizes
possible. The following range values may be useful:
• Min value: 0.15
• Max value: 4.85
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
So how do I continue my graph
journey?
Neo4j, Inc. All rights reserved 2021
More training this week - all starting at 1pm UTC
Thursday: Build APIs with Neo4j GraphQL Library
Friday: Create a Knowledge Graph: A Simple ML Approach
Missed the previous sessions? Catch up now!
https://dev.neo4j.com/training-catchup
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Free online training and
certification:
• dev.neo4j.com/learn
How to, best practices, hands on
and community stories:
• dev.neo4j.com/videos
Come say hello :)
• dev.neo4j.com/chat
• dev.neo4j.com/forum
Continue your journey
Neo4j, Inc. All rights reserved 2021
Neo4j, Inc. All rights reserved 2021
Ljubica Lazarevic
Developer Relations
@ElLazal
lju@neo4j.com
Join the conversation at dev.neo4j.com/forum

Weitere ähnliche Inhalte

Was ist angesagt?

Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
jexp
 
Training Week: Build APIs with Neo4j GraphQL Library
Training Week: Build APIs with Neo4j GraphQL LibraryTraining Week: Build APIs with Neo4j GraphQL Library
Training Week: Build APIs with Neo4j GraphQL Library
Neo4j
 
The Data Platform for Today’s Intelligent Applications
The Data Platform for Today’s Intelligent ApplicationsThe Data Platform for Today’s Intelligent Applications
The Data Platform for Today’s Intelligent Applications
Neo4j
 
Introduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash courseIntroduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash course
Neo4j
 
Training Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL LibraryTraining Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL Library
Neo4j
 

Was ist angesagt? (20)

Intro to Graphs and Neo4j
Intro to Graphs and Neo4jIntro to Graphs and Neo4j
Intro to Graphs and Neo4j
 
How Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge GraphHow Graph Data Science can turbocharge your Knowledge Graph
How Graph Data Science can turbocharge your Knowledge Graph
 
SolrとElasticsearchを比べてみよう
SolrとElasticsearchを比べてみようSolrとElasticsearchを比べてみよう
SolrとElasticsearchを比べてみよう
 
Risk Signature Profiles in Health Care Claims(Risk_Signature_Profiles)_.pptx
Risk Signature Profiles in Health Care Claims(Risk_Signature_Profiles)_.pptxRisk Signature Profiles in Health Care Claims(Risk_Signature_Profiles)_.pptx
Risk Signature Profiles in Health Care Claims(Risk_Signature_Profiles)_.pptx
 
Cloud Spanner をより便利にする運用支援ツールの紹介
Cloud Spanner をより便利にする運用支援ツールの紹介Cloud Spanner をより便利にする運用支援ツールの紹介
Cloud Spanner をより便利にする運用支援ツールの紹介
 
Workshop - Build a Graph Solution
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
 
Road to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache ArrowRoad to NODES - Blazing Fast Ingest with Apache Arrow
Road to NODES - Blazing Fast Ingest with Apache Arrow
 
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...
Knowledge Graphs and Graph Data Science: More Context, Better Predictions (Ne...
 
Training Week: Build APIs with Neo4j GraphQL Library
Training Week: Build APIs with Neo4j GraphQL LibraryTraining Week: Build APIs with Neo4j GraphQL Library
Training Week: Build APIs with Neo4j GraphQL Library
 
Demystifying Graph Neural Networks
Demystifying Graph Neural NetworksDemystifying Graph Neural Networks
Demystifying Graph Neural Networks
 
The Data Platform for Today’s Intelligent Applications
The Data Platform for Today’s Intelligent ApplicationsThe Data Platform for Today’s Intelligent Applications
The Data Platform for Today’s Intelligent Applications
 
The Knowledge Graph Explosion
The Knowledge Graph ExplosionThe Knowledge Graph Explosion
The Knowledge Graph Explosion
 
COSCUP 2016 Workshop : 快快樂樂學Neo4j
COSCUP 2016 Workshop : 快快樂樂學Neo4jCOSCUP 2016 Workshop : 快快樂樂學Neo4j
COSCUP 2016 Workshop : 快快樂樂學Neo4j
 
Neo4j – The Fastest Path to Scalable Real-Time Analytics
Neo4j – The Fastest Path to Scalable Real-Time AnalyticsNeo4j – The Fastest Path to Scalable Real-Time Analytics
Neo4j – The Fastest Path to Scalable Real-Time Analytics
 
Hadoop導入事例 in クックパッド
Hadoop導入事例 in クックパッドHadoop導入事例 in クックパッド
Hadoop導入事例 in クックパッド
 
RDF Semantic Graph「RDF 超入門」
RDF Semantic Graph「RDF 超入門」RDF Semantic Graph「RDF 超入門」
RDF Semantic Graph「RDF 超入門」
 
Introduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash courseIntroduction to Neo4j - a hands-on crash course
Introduction to Neo4j - a hands-on crash course
 
Intro to Neo4j - Nicole White
Intro to Neo4j - Nicole WhiteIntro to Neo4j - Nicole White
Intro to Neo4j - Nicole White
 
Workshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data ScienceWorkshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data Science
 
Training Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL LibraryTraining Series: Build APIs with Neo4j GraphQL Library
Training Series: Build APIs with Neo4j GraphQL Library
 

Ähnlich wie Training Week: Introduction to Neo4j Bloom

Training Week: Introduction to Neo4j Bloom 2022
Training Week: Introduction to Neo4j Bloom 2022Training Week: Introduction to Neo4j Bloom 2022
Training Week: Introduction to Neo4j Bloom 2022
Neo4j
 
Training Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura FreeTraining Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura Free
Neo4j
 
Luminate Online Best Practices for Beginners
Luminate Online Best Practices for BeginnersLuminate Online Best Practices for Beginners
Luminate Online Best Practices for Beginners
Blackbaud
 
Training Week: Create a Knowledge Graph: A Simple ML Approach
Training Week: Create a Knowledge Graph: A Simple ML Approach Training Week: Create a Knowledge Graph: A Simple ML Approach
Training Week: Create a Knowledge Graph: A Simple ML Approach
Neo4j
 
Expert Panel Session - SEO for Ecommerce - ionSearch 2012
Expert Panel Session - SEO for Ecommerce - ionSearch 2012Expert Panel Session - SEO for Ecommerce - ionSearch 2012
Expert Panel Session - SEO for Ecommerce - ionSearch 2012
ionSearch Conference
 

Ähnlich wie Training Week: Introduction to Neo4j Bloom (20)

Training Week: Introduction to Neo4j Bloom
Training Week: Introduction to Neo4j BloomTraining Week: Introduction to Neo4j Bloom
Training Week: Introduction to Neo4j Bloom
 
Training Week: Introduction to Neo4j Bloom 2022
Training Week: Introduction to Neo4j Bloom 2022Training Week: Introduction to Neo4j Bloom 2022
Training Week: Introduction to Neo4j Bloom 2022
 
Enabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge GraphsEnabling GenAI Breakthroughs with Knowledge Graphs
Enabling GenAI Breakthroughs with Knowledge Graphs
 
Training Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura FreeTraining Week: Introduction to Neo4j Aura Free
Training Week: Introduction to Neo4j Aura Free
 
Graph Data Modeling Best Practices(Eric_Monk).pptx
Graph Data Modeling Best Practices(Eric_Monk).pptxGraph Data Modeling Best Practices(Eric_Monk).pptx
Graph Data Modeling Best Practices(Eric_Monk).pptx
 
Neo4j in a Microsoft Shop
Neo4j in a Microsoft ShopNeo4j in a Microsoft Shop
Neo4j in a Microsoft Shop
 
Training Series - Intro to Neo4j
Training Series - Intro to Neo4jTraining Series - Intro to Neo4j
Training Series - Intro to Neo4j
 
Neo4j Generative AI workshop at GraphSummit London 14 Nov 2023.pdf
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
 
Employee Empowerment With Graph Technology
Employee Empowerment With Graph TechnologyEmployee Empowerment With Graph Technology
Employee Empowerment With Graph Technology
 
Learn with Possible: SEO 101
Learn with Possible: SEO 101Learn with Possible: SEO 101
Learn with Possible: SEO 101
 
Webinar-Building a Strong Brand For Your Organization -2017-03-07
Webinar-Building a Strong Brand For Your Organization -2017-03-07Webinar-Building a Strong Brand For Your Organization -2017-03-07
Webinar-Building a Strong Brand For Your Organization -2017-03-07
 
GraphSummit Toronto: Keynote - Innovating with Graphs
GraphSummit Toronto: Keynote - Innovating with Graphs GraphSummit Toronto: Keynote - Innovating with Graphs
GraphSummit Toronto: Keynote - Innovating with Graphs
 
Introducing Workspaces, a New Experience for Neo4j Developer Tools
Introducing Workspaces, a New Experience for Neo4j Developer ToolsIntroducing Workspaces, a New Experience for Neo4j Developer Tools
Introducing Workspaces, a New Experience for Neo4j Developer Tools
 
Luminate Online Best Practices for Beginners
Luminate Online Best Practices for BeginnersLuminate Online Best Practices for Beginners
Luminate Online Best Practices for Beginners
 
025 Exploring Data With Neo4j Bloom - NODES2022 AMERICAS Intermediate 10 - Je...
025 Exploring Data With Neo4j Bloom - NODES2022 AMERICAS Intermediate 10 - Je...025 Exploring Data With Neo4j Bloom - NODES2022 AMERICAS Intermediate 10 - Je...
025 Exploring Data With Neo4j Bloom - NODES2022 AMERICAS Intermediate 10 - Je...
 
Using Gamification with CodeClubWorld.org
Using Gamification with CodeClubWorld.orgUsing Gamification with CodeClubWorld.org
Using Gamification with CodeClubWorld.org
 
Career Kickstarter - Building your Career (and Plan) in Atlantic Canada .pdf
Career Kickstarter - Building your Career (and Plan) in Atlantic Canada  .pdfCareer Kickstarter - Building your Career (and Plan) in Atlantic Canada  .pdf
Career Kickstarter - Building your Career (and Plan) in Atlantic Canada .pdf
 
Leveraging technology
Leveraging technologyLeveraging technology
Leveraging technology
 
Training Week: Create a Knowledge Graph: A Simple ML Approach
Training Week: Create a Knowledge Graph: A Simple ML Approach Training Week: Create a Knowledge Graph: A Simple ML Approach
Training Week: Create a Knowledge Graph: A Simple ML Approach
 
Expert Panel Session - SEO for Ecommerce - ionSearch 2012
Expert Panel Session - SEO for Ecommerce - ionSearch 2012Expert Panel Session - SEO for Ecommerce - ionSearch 2012
Expert Panel Session - SEO for Ecommerce - ionSearch 2012
 

Mehr von Neo4j

Mehr von Neo4j (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansQIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
QIAGEN: Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
ISDEFE - GraphSummit Madrid - ARETA: Aviation Real-Time Emissions Token Accre...
 
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafosBBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
BBVA - GraphSummit Madrid - Caso de éxito en BBVA: Optimizando con grafos
 
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
Graph Everywhere - Josep Taruella - Por qué Graph Data Science en tus modelos...
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdfNeo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
Neo4j_Exploring the Impact of Graph Technology on Financial Services.pdf
 
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdfRabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
Rabobank_Exploring the Impact of Graph Technology on Financial Services.pdf
 
Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!Webinar - IA generativa e grafi Neo4j: RAG time!
Webinar - IA generativa e grafi Neo4j: RAG time!
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
 
Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)Neo4j: Data Engineering for RAG (retrieval augmented generation)
Neo4j: Data Engineering for RAG (retrieval augmented generation)
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
 
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdfNeo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
Neo4j_Anurag Tandon_Product Vision and Roadmap.Benelux.pptx.pdf
 
Neo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with GraphNeo4j Jesus Barrasa The Art of the Possible with Graph
Neo4j Jesus Barrasa The Art of the Possible with Graph
 
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
SWIFT: Maintaining Critical Standards in the Financial Services Industry with...
 

Kürzlich hochgeladen

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Kürzlich hochgeladen (20)

Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 

Training Week: Introduction to Neo4j Bloom

  • 1. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 Introduction to Bloom Lju Lazarevic Developer Relations @ElLazal dev.neo4j.com/forum dev.neo4j.com/chat
  • 2. Neo4j, Inc. All rights reserved 2021 • Very hands on - you will be diving into Bloom to do everything from setting it up, to exploring the data, to doing edits and changes! • We will be importing a data set, so we will be using Cypher, but don’t panic! We’ll give you the queries 2 Overview of the training
  • 3. Neo4j, Inc. All rights reserved 2021 3 Overview of Bloom
  • 4. Neo4j, Inc. All rights reserved 2021 Where is Bloom available? • Neo4j Aura • Neo4j Sandbox • Neo4j Desktop • As a plugin for Neo4j Server
  • 5. Neo4j, Inc. All rights reserved 2021 There are two other components we’ll be visiting as part of the session: • We recommend using Neo4j Sandbox for this session ◦ You may also use Neo4j Aura Free • Neo4j Browser: ◦ We’ll use this to load our data 5 (A Brief) Introduction to Neo4j Aura and Browser
  • 6. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 6 Getting up and running on Neo4j Aura Free
  • 7. Neo4j, Inc. All rights reserved 2021 Kaggle Olympics Data Set • Summer and Winter Olympics from 1896 to 2016 • Source: www.kaggle.com/heesoo37/120-years-of-oly mpic-history-athletes-and-results • We’re only using the Winter Games All queries, data, etc.: dev.neo4j.com/bloom-training-repo 7 Introduction to the data set
  • 8. Neo4j, Inc. All rights reserved 2021 Setting up the database Use Neo4j Sandbox: • Go to dev.neo4j.com/try • Sign in & click “Blank sandbox” For Neo4j Aura Free: • Go to dev.neo4j.com/aura-login • Sign in & click “Create a database” • Give your database a name • Selected “Shared” database size • Click “Create Database” • Make a copy of the generated password - keep it safe!
  • 9. Neo4j, Inc. All rights reserved 2021 Loading the data • Copy all the queries from: http://dev.neo4j.com/bloom-training-1 • Click on open/Neo4j Browser to start the Browser ◦ Username: neo4j • Paste the query into the query window and press the play button to start • Don’t panic! We’ll do it together :)
  • 10. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 10 Setting up the Perspective
  • 11. Neo4j, Inc. All rights reserved 2021 11 Tour of Bloom
  • 12. Neo4j, Inc. All rights reserved 2021 12 Tour of Bloom
  • 13. Neo4j, Inc. All rights reserved 2021 13 Tour of Bloom
  • 14. Neo4j, Inc. All rights reserved 2021 14 Tour of Bloom
  • 15. Neo4j, Inc. All rights reserved 2021 When Bloom loads for the first time: • Bloom will show all existing perspectives, and also offer to automatically generate one • Bloom’s analysis looks for disjointed sets within the label set (e.g. Person, American, Employee, Customer, etc.) and try and group together • Indexes on properties will enable searching on those directly 15 Getting started in Bloom
  • 16. Neo4j, Inc. All rights reserved 2021 • Start the Bloom App • You will be prompted to auto-generate • Explore the auto-generated perspective: ◦ What categories have been loaded? ◦ What category properties have been selected to display? • Try creating your own perspective: ◦ Click on ‘Choose a Perspective’ --> ’Create a Perspective’ ◦ Add the categories ◦ Select properties to display • Switch back to the auto-generated perspective 16 Your turn - create a perspective for the data set
  • 17. Neo4j, Inc. All rights reserved 2021 You can explore your data by specifying: • A property name • A category • A relationship type You can further examine a node by: • Double-clicking to bring up Card List • Explore properties, relationships and neighbors 17 Simple searches in Bloom
  • 18. Neo4j, Inc. All rights reserved 2021 Look up Maxime Dufour-Lapointe: • Explore the information about Maxime Dufour-Lapointe using the Card List • Try right-clicking the node and expand ◦ What more do we learn about Maxime Dufour-Lapointe? ◦ Expanding the Team node (cross-check the colour with the Category list on the right), what more do we learn? 18 Your turn - tell me more about...
  • 19. Neo4j, Inc. All rights reserved 2021 As well as assigning categories and properties, we can further configure the perspective: • We can exclude nodes and relationships completely • We can add search phrases for commonly-executed queries (more on that later) • Once we’re finished configuring the perspective, we can export, import and share it 19 Configuring Bloom
  • 20. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 20 Bloom patterns and exploring the data
  • 21. Neo4j, Inc. All rights reserved 2021 As well as specifying a name/item/thing, we can express patterns consisting of categories and relationships E.g: Maxime Dufour-Lapointe part of Team competed in Event or Maxime Dufour-Lapointe part of Team Event or Maxime Dufour-Lapointe Team Event or Maxime Dufour-Lapointe part of competed in You don’t have to put all the relationships and Events, Bloom will fill the gaps for you! 21 Building patterns
  • 22. Neo4j, Inc. All rights reserved 2021 How would you find the answer to: • What Olympic games was Yelena Dubok a part of? How many different patterns can you come up with that provide the answer? 22 Your turn - mind the gap
  • 23. Neo4j, Inc. All rights reserved 2021 We can start to build some interesting patterns when we understand the model. We can: • Search paths between two points • Find hierarchies and dependencies • Find more than one occurrence of something 23 Building upon patterns
  • 24. Neo4j, Inc. All rights reserved 2021 Reveal different properties across a specific set of relationships and nodes from a set start and end point E.g. Elizabeth Lee "Beth" Heiden part of Team participated in Games participated in Team part of Eric Arthur Heiden 24 Search paths between two points
  • 25. Neo4j, Inc. All rights reserved 2021 Finding the occurrence of two or more Categories/Properties Can be a single hop: E.g. Games City Games Can be across several hops: E.g. Games Team Athlete Team Games 25 Finding more than one occurrence
  • 26. Neo4j, Inc. All rights reserved 2021 We can also apply more fine-grained control in our Bloom phrases via the properties that don’t have indexes E.g. Games year 1972 Be aware this is case sensitive! Accessing properties
  • 27. Neo4j, Inc. All rights reserved 2021 • How many gold medals has Claudia Pechstein won? • How many teams has Lamine Guye been in? • Can you find some athletes that have represented more than one country? • What different ways are Olivier Jenot and • Patrice Servelle linked? (hint: think about the paths that may link them) 27 Your turn - time to answer some questions!
  • 28. Neo4j, Inc. All rights reserved 2021 We will from time to time want to hide/show parts of our results We can select and deselect nodes to show: • Shortest path • Expand nodes • Dismiss nodes • Select an area • Select a category 28 Interacting with the Workspace
  • 29. Neo4j, Inc. All rights reserved 2021 We want to show just the athletes that have won more than one Gold Medal. How would you display only the result nodes we’re interested in? Have you noticed something else? Don’t worry if you haven’t, we’ll discuss it shortly. 29 Your turn - just the athletes, please
  • 30. Neo4j, Inc. All rights reserved 2021 Only 150-ish athletes are brought back that have won more than one gold medal/more teams than athletes... • Bloom uses internal limits to improve performance • This may result in only a sample of data being returned • You can adjust the limits in the settings ◦ Increasing the limit to 1200 brings back 580-ish athletes 30 A note on limits
  • 31. Neo4j, Inc. All rights reserved 2021 Search phrases are a way of adding tailored, complex querying to Bloom, via a user-friendly and intuitive phrase. They can be extremely helpful: • We can use search phrases for commonly-used patterns • They can form the basis for production-ready common queries • Provide helper functions 31 Search phrases
  • 32. Neo4j, Inc. All rights reserved 2021 Wouldn’t it be nice to find Athletes without knowing their middle names? Let’s add a search phrase for that! • Add search phrases to find names ◦ Cypher code from: dev.neo4j.com/bloom-training-2 • Test out your search phrases! 32 Your turn - creating search phrases
  • 33. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 33 Editing data in bloom
  • 34. Neo4j, Inc. All rights reserved 2021 We also have some basic editing options available to us in Bloom. We can: • Edit properties • Duplicate nodes • Create new nodes • Create relationships between nodes • Change labels 34 Editing the data
  • 35. Neo4j, Inc. All rights reserved 2021 • Add a relationship between City and Country for Cities that have held the Olympics more than once • Feel free to search the City locations if you don’t know them off hand :) 35 Your turn - where are those cities?
  • 36. Neo4j, Inc. All rights reserved 2021 This is only possible whilst you have write access to Neo4j. If you do not, you will not be able to take advantage of these features Other editing constraints: • You can only create existing relationship types • You cannot delete relationships or nodes • You can only add existing properties • You can only add properties to existing categories/labels 36 Note on editing
  • 37. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 Customizing and applying rule-based styling
  • 38. Neo4j, Inc. All rights reserved 2021 Your visualization, your way! As well as tailoring what properties, nodes and relationships we do or do not show, we can also: • Add icons for nodes • Change the default colors and sizes for nodes and relationships • Add rule-based, dynamic styling for color and size based on: ◦ Existence conditions ◦ A specific range for properties ◦ Uniqueness of property values
  • 39. Neo4j, Inc. All rights reserved 2021 Your turn - who’s the most connected athlete? We are going to use the Page Rank scores we have on Athlete to Athlete, based on shared Teams. First of all, why not add some appropriate icons for all the nodes in use? Using the dynamic sizing option, use the smallest and largest node sizes possible. The following range values may be useful: • Min value: 0.15 • Max value: 4.85
  • 40. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 So how do I continue my graph journey?
  • 41. Neo4j, Inc. All rights reserved 2021 More training this week - all starting at 1pm UTC Thursday: Build APIs with Neo4j GraphQL Library Friday: Create a Knowledge Graph: A Simple ML Approach Missed the previous sessions? Catch up now! https://dev.neo4j.com/training-catchup
  • 42. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 Free online training and certification: • dev.neo4j.com/learn How to, best practices, hands on and community stories: • dev.neo4j.com/videos Come say hello :) • dev.neo4j.com/chat • dev.neo4j.com/forum Continue your journey
  • 43. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights reserved 2021 Ljubica Lazarevic Developer Relations @ElLazal lju@neo4j.com Join the conversation at dev.neo4j.com/forum