An Introduction to Graph Databases - Chester Devs 2014-06-16

Post on 05-Jul-2015

113 views 3 download

description

Originally presented at Chester Devs on 16th June 2014 - an introduction to graph databases with examples in neo4j (the blank slides shown had embedded browser pages)

transcript

with examples in neo4j

Person

name: Agile

Coach

name: Adrian

Nichols

Job Role

Job Role

name:Freelance

Project

Manager

name:

maelstrm

name: crootopia

StartUp

StartUp

WORKS_A

S

WO

RK

S_

A

S

Job Role

name:Technical

Jiggery-

Pokerist

Person

name: LinkedIn

link: linkedin.comname: Adrian

Nichols

Website

name: Githubhandle: AdrianNichols

link: github.comname: slides

name: scripts

Output

Output

FIN

D_

ON

Website

name: Twitterhandle:

Adrian_Nichols

link: twitter.com

FIND_ON

Website

Example

Applications

Graph

FundamentalsWhy Graphs?

Enough to get

Started

Source: http://en.wikipedia.org/wiki/Leonhard_Euler

Leonhard Euler (1707-

1783)

• Online Catalogue of

Items

• Customers Place Orders

• We Deliver in Sports

Cars

• …and we use a Graph

DB

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

CAT1 P1

CAT2

CAT3

P2

P3

P4

P7

P6

P5

CUST

1CUST

2CUST

3

categories products customers

CAT1

P1

CAT2

CAT3

P2

P3

P4

P7

P6

P5

CUST

1

CUST

2

CUST

3

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

• From (design)-[:TO]-

>(deployment)

• Moving away from RDBMS

• Auditing

• Recommendations

• Shortest vs. Cheapest path

• ETL

For those that like to do:Neo4j: http://neo4j.com/

More Neo4j Examples: http://gist.neo4j.org/

For those that like to read:Book: I. Robinson/J. Webber/E. Eifrem – Graph Databases

Book: D. Easley/J.Kleinberg – Networks, Crowds and

Markets

For those that like to watch:TED Talk: Eric Berlow - Simplifying Complexity

TED Talk: Eric Berlow/Sean Gourley – Mapping Ideas

For those that like to interact:Ask me some questions…

Twitter: @Adrian_Nichols

www.adriannichols.com

Agile or PM Concerns?(or maybe even graphs!)

MATCH (m:Meetup)<-[a:ATTENDED]-(p:Person)-[g:GOING_TO]->(ph:Pub

WHERE m.Name = ‘Chester Devs’

AND ph.Name = ‘The George & Dragon’

AND a.Date = ‘2014-06-16

RETURN p.Name