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
110
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
49
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
88
FINANCIAL TIMES'S JOURNEY TO CONTAINER BASED MICROSERVICES
nickywrightson
0
140
Other Decks in Technology
See All in Technology
Cross Data Platforms Meetup LT 20250422
tarotaro0129
1
840
今日からはじめるプラットフォームエンジニアリング
jacopen
8
1.8k
C++26アップデート 2025-03
faithandbrave
0
1.1k
もう難しくない!誰でもカンタンDocker入門 〜30分であなたのPCにアプリを立ち上げる〜
devops_vtj
0
120
意思決定を支える検索体験を目指してやってきたこと
hinatades
PRO
0
320
JPOUG Tech Talk #12 UNDO Tablespace Reintroduction
nori_shinoda
2
170
AIエージェント開発手法と業務導入のプラクティス
ykosaka
9
2.4k
AIコーディングの最前線 〜活用のコツと課題〜
pharma_x_tech
4
2.8k
AWS全冠芸人が見た世界 ~資格取得より大切なこと~
masakiokuda
5
6.5k
企業が押さえるべきMCPの未来
takaakikakei
0
120
ビジネスとデザインとエンジニアリングを繋ぐために 一人のエンジニアは何ができるか / What can a single engineer do to connect business, design, and engineering?
kaminashi
2
760
ここはMCPの夜明けまえ
nwiizo
32
12k
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Making Projects Easy
brettharned
116
6.1k
The Pragmatic Product Professional
lauravandoore
33
6.6k
Being A Developer After 40
akosma
91
590k
Raft: Consensus for Rubyists
vanstee
137
6.9k
Optimising Largest Contentful Paint
csswizardry
37
3.2k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Adaptive Systems
keathley
41
2.5k
Building Applications with DynamoDB
mza
94
6.3k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
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!