Mission_t_omars

Post on 02-Nov-2014

249 views 0 download

Tags:

description

presentation from Geek Girl Meetup Sweden 25-26/5 2013

transcript

onsdag 29 maj 13

onsdag 29 maj 13

Mission to Mars

onsdag 29 maj 13

Mission to Mars

@p3rnilla

onsdag 29 maj 13

Mission to Mars

@p3rnilla

THE RED PLANET

onsdag 29 maj 13

”In the last century, Neil Armstrong became the first person to walk on the Moon. In this century you may become the first person to walk on Mars...” - Franklyn M Branley

>>

onsdag 29 maj 13

Research

onsdag 29 maj 13

10 things you should know about Mars

onsdag 29 maj 13

10 things you should know about Mars

1. Mars is the fourth planet from the sun

2. Mars is the seventh largest planet

3. Mars is a small rocky body

4. Mars's surface is closest to that of Earth of any of the planets

5. Mars may be the best hope for finding life away from Earth

6. Mars has inspired wild flights of imagination over the centuries

7. Mars has two tiny satellites which orbit very close to the surface

8. Mars has some remarkable geological characteristics

9. Mars has been visited by several probes

10. One day, humans will walk on Mars...

onsdag 29 maj 13

10 things you should know about Mars

1. Mars is the fourth planet from the sun

2. Mars is the seventh largest planet

3. Mars is a small rocky body

4. Mars's surface is closest to that of Earth of any of the planets

5. Mars may be the best hope for finding life away from Earth

6. Mars has inspired wild flights of imagination over the centuries

7. Mars has two tiny satellites which orbit very close to the surface

8. Mars has some remarkable geological characteristics

9. Mars has been visited by several probes

10. One day, humans will walk on Mars...

Time to plan the trip...

onsdag 29 maj 13

onsdag 29 maj 13

What do we need

onsdag 29 maj 13

What do we needPeople Space Crew

Land Crew

Supply Maps/Navigation System

Time schedule

Spacecraft

$$Money

Astronauts

EngineersManagers

Doctors

operative personal

Admin personal

foodwater Test, test ,testWC

space suits

communication tools

documentation

Mars

Earth

stars

training

fuelSystem

Salaries

clothes

training program

<6 months - from Earth> mars

more research

mars rover

planning

prep timerecovering time Summary

sponsors

smart people

onsdag 29 maj 13

???How do we store all the

this information in a good way - so we easily can find

it after 5 years???

onsdag 29 maj 13

Let’s do it again

onsdag 29 maj 13

???How do we store all the

this information in a good way - so we easily can find

it after 5 years???

WÄÄÄÄÄ

onsdag 29 maj 13

???How do we store all the

this information in a good way - so we easily can find

it after 5 years???

WÄÄÄÄÄ

onsdag 29 maj 13

SO MUCH DATA

onsdag 29 maj 13

onsdag 29 maj 13

SQL (Structured Query Language)

onsdag 29 maj 13

SQL (Structured Query Language)

NoSQL (Not only SQL)

Relational Database (MySQL)

Document-Oriented Database (MongoDB)Column Oriented (Cassandra)

Key Value Stores (Redis, Riak)

Graph Database (Neo4j)

onsdag 29 maj 13

onsdag 29 maj 13

Let’s try it with a graph database...

onsdag 29 maj 13

Modeling the data

onsdag 29 maj 13

onsdag 29 maj 13

onsdag 29 maj 13

to

participate_in

fly

onsdag 29 maj 13

to

participate_in

fly

control

works_

in

look_after

look_after

onsdag 29 maj 13

to

participate_in

fly

control

works_

in

works_at

look_after

look_after

works_at

works_at

part_o

f

Mars

Mission_To_Mars

Astronaut Pernilla

Spaceship

control_tower

Admin

Stina

Manager

Lisa

Doctor

Michaela

NASA

Headquarter

onsdag 29 maj 13

to

participate_in

fly

control

works_

in

works_at

look_after

look_after

works_at

works_at

part_o

f

Mars

Mission_To_Mars

Astronaut Pernilla

Spaceship

control_tower

Admin

Stina

Manager

Lisa

Doctor

Michaela

NASA

Headquarter

onsdag 29 maj 13

to

participate_in

fly

control

works_

in

works_at

look_after

look_after

works_at

works_at

part_o

f

Mars

Mission_To_Mars

Astronaut Pernilla

Spaceship

control_tower

Admin

Stina

Manager

Lisa

Doctor

Michaela

NASA

Headquarter

onsdag 29 maj 13

A graph database =

Nodes and relationships

Nodes RelationshipsMars

Pernilla AstronautAnna Manager

Michaela DoctorLisa Admin

Stina Engineer

Supply

SpaceshipNASAControl Tower

Mission_to_Mars

Money

goes_into

builtdesignfly

works_in

look_after

works_at

participate_in

to

manage

pay_mission

onsdag 29 maj 13

onsdag 29 maj 13

Cypher - a graph query language

๏a pattern-matching query language

๏declarative grammar with clauses (like SQL)

๏aggregation, ordering, limits

๏create, read, update, delete, match

onsdag 29 maj 13

onsdag 29 maj 13

// create a nodecreate (astronaut:Astronaut {name:"Pernilla", age: 27}),(target:Planet {planet:"Mars"}),

(mission:Mission {mission:"Mission to Mars"});

// find nodes match to node 1,2,3MATCH (astronaut)-[:PARTICIPATES_IN]->(mission)-[:TO]->(Planet:planet) where planet.planet = "Mars" RETURN astronaut.name

onsdag 29 maj 13

// create a nodecreate (astronaut:Astronaut {name:"Pernilla", age: 27}),(target:Planet {planet:"Mars"}),

(mission:Mission {mission:"Mission to Mars"});

// find nodes match to node 1,2,3MATCH (astronaut)-[:PARTICIPATES_IN]->(mission)-[:TO]->(Planet:planet) where planet.planet = "Mars" RETURN astronaut.name

onsdag 29 maj 13

Demo

onsdag 29 maj 13

THANKS!

Questions?

onsdag 29 maj 13