Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Neo4j
Search
Leo Soto
February 11, 2015
Technology
610
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Neo4j
Leo Soto
February 11, 2015
More Decks by Leo Soto
See All by Leo Soto
Innovación en un Mundo Digital
leosoto
0
41
El arte oscuro de estimar
leosoto
0
120
Other Decks in Technology
See All in Technology
AI AgentによるEmbedded SREの取り組み
tgidgd
1
350
The future of architectural work
ufried
0
180
試験勉強はGrokBotでやれ
maigo999
0
110
GCASアップデート(202607-202610)
techniczna
1
210
ゼロから作るWebアプリの新定番!?Amplify Gen 2 × AWS Blocksで実現する「開発速度とRDBの柔軟性のいいとこ取り」
amixedcolor
1
160
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
160
eBPF 簡介 2026 版
shunghsiyu
0
190
[General] 개발자로 해외 기업에서 일하기
skydoves
1
300
令和の今、あらためて IAM を考える。アクセスキーを「無くせない現実」との向き合い方
kazzpapa3
0
370
AI時代に求められる優秀なTechLeadの振る舞い
pospome
11
15k
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
3
190
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
650
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.4k
Mind Mapping
helmedeiros
1
430
The Cult of Friendly URLs
andyhume
79
7.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
570
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
The untapped power of vector embeddings
frankvandijk
2
2k
Code Reviewing Like a Champion
maltzj
529
40k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
How GitHub (no longer) Works
holman
316
150k
Transcript
Neo4j: BD de grafos Leo Soto M. (@leosoto) #DevHangout -
2015
Intro
¿Se acuerdan de los grafos?
¿Se acuerdan de los grafos? Listas ⊂ Árboles ⊂ Grafos
¿Se acuerdan de los grafos? ¿BD relacionales ~= Grafos?
¿Se acuerdan de los grafos? ¿BD relacionales ~= Grafos? (Y
las relaciones N:M no son un hack)
Modelando el esquema de una BD de grafos
Listo. (no hay esquema, se trata de meter nodos y
conectarlos)
¿Preguntas?
¿Preguntas? (en serio, ¿les parece que tiene sentido?)
Neo4j
Graph Nodes records data in Nodes have Properties
Graph Nodes records data in Nodes have Properties Nodes Relationships
are organized by Relationships have Properties
Graph Nodes records data in Nodes have Properties Nodes Relationships
are organized by Relationships have Properties Nodes Labels are grouped by Indexes Properties map from Nodes/Rels to
Cypher
Crear nodos CREATE (c {name: "Continuum", address: "General Bustamante" }
) SET c:Company
Crear nodos CREATE (s {name: "Software"} ) SET s:Industry
Consultas (p1) MATCH (c:Company) WHERE c.name = "Continuum" RETURN c.address
Crear relaciones MATCH (c:Company), (s:Industry) WHERE c.name = "Continuum" AND
s.name = "Software" CREATE (c)-[r:works_in]->(s)
Crear relaciones MATCH (c:Company) WHERE c.name = "Continuum" CREATE (c)-[:works_in]->(ux
{name: "User Experience"} ) SET ux:Industry
Crear todo junto CREATE (bci {name: "Bci"} )-[r:works_in {since: 1937}]->(f
{name: "Finance"} ) SET bci:Company SET f:Industry
Consultas (p2) MATCH (c:Company)-[r:works_in]-(:Industry {name: "Finance"} ) WHERE r.since >
1900 RETURN c
Consultas (p2) MATCH (c:Company)-[r:works_in]->(i:Industry) WHERE c.name = "Continuum" RETURN c,r,i
Patrones (c:Company)-[r:works_in]->(i:Industry)
Patrones (c:Company)-->(i:Industry)
Patrones (c:Company)<--(i:Industry)
Patrones (c:Company)--(i:Industry)
Patrones (p:Person)—[*]->(i:Industry)
Patrones (p:Person)—[:knows*1..3]->(p)-[:works_in]->(i:Industry)
Patrones MATCH ( :Company {name: “Continuum”} )<-[:fan_of]-( fan:Person )-[red:knows*1..3]->( contacto
)-[:works_in]->( :Industry {name: "Venture Capital”} ) RETURN fan, red, contacto
Schema Index CREATE INDEX ON :Company(name) CREATE INDEX ON :Industry(name)
Schema Index CREATE INDEX ON :Company(name) CREATE INDEX ON :Industry(name)
MATCH (c:Company)-[r:works_in]->(i:Industry) WHERE c.name = "Continuum" RETURN c,r,i
Legacy Index START n=node:MyCustomIndex(value=foo) MATCH (n)-...
¡Gracias! Leo Soto M. (@leosoto) Chief Wildcard @continuumhq - 2013