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
100
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
170
An Engineer's Guide to Good Nights Sleep
nickywrightson
0
45
An Engineer's Guide to a Good Night's Sleep
nickywrightson
0
120
The bumpy road towards containerised microservices: why early adoption meant it took longer for us to get there
nickywrightson
0
82
FINANCIAL TIMES'S JOURNEY TO CONTAINER BASED MICROSERVICES
nickywrightson
0
140
Other Decks in Technology
See All in Technology
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
120
あなたの知らないクラフトビールの世界
miura55
0
140
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
190
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
150
2025年の挑戦 コーポレートエンジニアの技術広報/techpr5
nishiuma
0
150
20250122_FinJAWS
takuyay0ne
2
110
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
940
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
55k
「人物ごとのアルバム」の精度改善の軌跡/Improving accuracy of albums by person
mixi_engineers
PRO
1
140
Goで実践するBFP
hiroyaterui
1
120
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
270
Godot Engineについて調べてみた
unsoluble_sugar
0
440
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Mobile First: as difficult as doing things right
swwweet
222
9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
4
180
Making Projects Easy
brettharned
116
6k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
The Cult of Friendly URLs
andyhume
78
6.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Building Applications with DynamoDB
mza
93
6.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
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!