Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Graph Databases: What? Why? and How?
Search
Nicky Wrightson
September 20, 2018
Technology
0
120
Graph Databases: What? Why? and How?
Introduction to graph databases with a simple practical example
Nicky Wrightson
September 20, 2018
Tweet
Share
More Decks by Nicky Wrightson
See All by Nicky Wrightson
An Engineer's Guide to Good Nights Sleep
nickywrightson
4
180
An Engineer's Guide to Good Nights Sleep
nickywrightson
0
51
An Engineer's Guide to a Good Night's Sleep
nickywrightson
0
130
The bumpy road towards containerised microservices: why early adoption meant it took longer for us to get there
nickywrightson
0
90
FINANCIAL TIMES'S JOURNEY TO CONTAINER BASED MICROSERVICES
nickywrightson
0
150
Other Decks in Technology
See All in Technology
CDK Toolkit Libraryにおけるテストの考え方
smt7174
1
550
How to Quickly Call American Airlines®️ U.S. Customer Care : Full Guide
flyaahelpguide
0
240
[SRE NEXT 2025] すみずみまで暖かく照らすあなたの太陽でありたい
carnappopper
2
470
IPA&AWSダブル全冠が明かす、人生を変えた勉強法のすべて
iwamot
PRO
2
230
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
2
120
“日本一のM&A企業”を支える、少人数SREの効率化戦略 / SRE NEXT 2025
genda
1
270
三視点LLMによる複数観点レビュー
mhlyc
0
230
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
240
ClaudeCodeにキレない技術
gtnao
1
860
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
200
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
6.9k
ソフトウェアテストのAI活用_ver1.25
fumisuke
1
610
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
The Cult of Friendly URLs
andyhume
79
6.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Thoughts on Productivity
jonyablonski
69
4.7k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Making Projects Easy
brettharned
116
6.3k
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Site-Speed That Sticks
csswizardry
10
700
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Transcript
Graph databases: What? Why? and How? By Nicky Wrightson -
Principal Engineer @ FT
What? What is a graph database? Why? Why use a
graph database? How? How to use a graph database
What? What is a graph database?
Graph Theory G = (V, E) Where V is a
set of nodes also called vertices E is a set of edges also called links
“a graph database is a database designed to treat the
relationships between data as equally important to the data itself” Neo4J https://neo4j.com/developer/graph-database/
None
None
None
What? What is a graph database? Why? Why use a
graph database?
Live demo time: http://www.six-degrees.ft.com
None
Implicitly any content about horsemeat is also about food safety
and so on
What? What is a graph database? Why? Why use a
graph database? How? How to use a graph database
How can we store our Graph?
Triple Stores
PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?name WHERE { ?person foaf:name ?name
. } Find me all subjects (?person) and objects (?name) linked with the foaf:name predicate
Cosmos DB Property Graphs
What makes a good candidate for a graph database?
https://github.com/nwrigh/game-of-thrones-dataset
https://github.com/nwrigh/game-of-thrones-dataset
https://github.com/nwrigh/game-of-thrones-dataset
https://github.com/nwrigh/game-of-thrones-dataset
LOAD CSV WITH HEADERS FROM “characters.csv” AS line https://github.com/nwrigh/game-of-thrones-dataset
https://github.com/nwrigh/game-of-thrones-dataset
Give me the details of who killed their own relative?
MATCH (killer:Person)- [:HAS_FATHER|:HAS_MOTHER|:HAS_SIBLING]- (relative:Person)-[:KILLED_BY]-(killer) RETURN killer, relative https://github.com/nwrigh/game-of-thrones-dataset
https://github.com/nwrigh/game-of-thrones-dataset
Other examples …. Which house killed the most? Which house
married the most? https://github.com/nwrigh/game-of-thrones-dataset
Gotchas with Property Graphs
Watch out for the size
Some more things to look out for
Conclusion
@nickywrightson We're hiring! https://ft.com/dev/null https://aboutus.ft.com/en-gb/careers/ Thanks!