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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Nicky Wrightson
September 20, 2018
Technology
0
130
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
54
An Engineer's Guide to a Good Night's Sleep
nickywrightson
0
140
The bumpy road towards containerised microservices: why early adoption meant it took longer for us to get there
nickywrightson
0
100
FINANCIAL TIMES'S JOURNEY TO CONTAINER BASED MICROSERVICES
nickywrightson
0
160
Other Decks in Technology
See All in Technology
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
130
StrandsAgentsで構築したAIエージェントにMCP Apps機能を追加してみた
kmiya84377
0
130
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
280
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
810
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
140
(技術的には)社内システムもOKなブラウザエージェントを作ってみた!
har1101
1
440
意外と知ってそうでしらない、Reserved Instances の世界
mappie_kochi
0
110
通話データから価値を生む 生成AIデータ基盤の実践 / CO-LAB_Tech_Night
sansan_randd
0
100
Prox Industries株式会社 会社紹介資料
proxindustries
0
200
OpenShiftでllm-dを動かそう!
jpishikawa
0
210
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
230
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
1.4k
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
320
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Rails Girls Zürich Keynote
gr2m
96
14k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
210
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
How to build a perfect <img>
jonoalderson
1
5.2k
Why Our Code Smells
bkeepers
PRO
340
58k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
My Coaching Mixtape
mlcsv
0
55
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Designing Experiences People Love
moore
144
24k
Building an army of robots
kneath
306
46k
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!