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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
270
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
110
Metadata - Section 1: HTML Basics
mohab1
0
120
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
180
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
5k
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
190
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
So, you think you're a good person
axbom
PRO
2
2.2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Making Projects Easy
brettharned
120
6.8k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
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