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
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Graph Databases: What? Why? and How?
Introduction to graph databases with a simple practical example
Nicky Wrightson
September 20, 2018
More Decks by Nicky Wrightson
See All by Nicky Wrightson
An Engineer's Guide to Good Nights Sleep
nickywrightson
4
210
An Engineer's Guide to Good Nights Sleep
nickywrightson
0
70
An Engineer's Guide to a Good Night's Sleep
nickywrightson
0
150
The bumpy road towards containerised microservices: why early adoption meant it took longer for us to get there
nickywrightson
0
120
FINANCIAL TIMES'S JOURNEY TO CONTAINER BASED MICROSERVICES
nickywrightson
0
180
Other Decks in Technology
See All in Technology
SmartHR Engineering Team Deck
smarthr
1
3.1k
同じWAFが、攻撃の“形”は弾く── 正当な“形”の不正は通す
kuroneko13
0
260
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
2
260
自宅NWにISR4331を導入してみた話
okaits
0
120
強化学習「理論」入門
enakai00
3
3.6k
LLM Internals: 언어 모델의 계보와 알고리즘 진화 (2023~2026)
inureyes
PRO
1
800
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.7k
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
190
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
430
AIで変わるエンジニアの働き方(仮)
naoinaoi
0
240
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
190
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
How STYLIGHT went responsive
nonsquared
100
6.2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
HDC tutorial
michielstock
2
800
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
540
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Google's AI Overviews - The New Search
badams
0
1.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
710
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
290
Design in an AI World
tapps
1
280
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!