2012 11-28 rich web data modeling with graphs-1
Upcoming SlideShare
Loading in...5
×
 

2012 11-28 rich web data modeling with graphs-1

on

  • 582 views

 

Statistics

Views

Total Views
582
Views on SlideShare
403
Embed Views
179

Actions

Likes
0
Downloads
10
Comments
0

2 Embeds 179

http://g33ktalk.com 178
http://g33ktalk.staging.wpengine.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

2012 11-28 rich web data modeling with graphs-1 2012 11-28 rich web data modeling with graphs-1 Presentation Transcript

  • Data modeling . . . with graphs @PeterBellWednesday, November 28, 12
  • - Terminology - Examples - Patterns - Key takeawaysAgendaWednesday, November 28, 12
  • TerminologyWednesday, November 28, 12
  • relational database tables columns records foreign keysWednesday, November 28, 12
  • Wednesday, November 28, 12
  • neo4j nodes relationships propertiesWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Wednesday, November 28, 12
  • indexesWednesday, November 28, 12
  • Wednesday, November 28, 12
  • indexesWednesday, November 28, 12
  • traversalsWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Wednesday, November 28, 12
  • Wednesday, November 28, 12
  • CypherWednesday, November 28, 12
  • OO language - domain objects Object (graph|relational) mapping Java domain objects Java domain objects Hibernate Spring Data Neo4j SQL Cypher Tables/rows/columns/FKs Nodes/relationships/propertiesWednesday, November 28, 12
  • ExamplesWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Wednesday, November 28, 12
  • Article CATEGORIZED_UNDER WRITTEN_BY ADDED_TO Category Author Comment WRITTEN_BY FOLLOWS CommenterWednesday, November 28, 12
  • GeographicWednesday, November 28, 12
  • BioinformaticWednesday, November 28, 12
  • PatternsWednesday, November 28, 12
  • start with a whiteboardWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Handling entitiesWednesday, November 28, 12
  • ...provide a familiar and consistent Spring based programming model while retaining store specific features and capabilitiesWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Restaurant - name - address - cuisine - comment RECOMMENDS_THE - rating User - first_name - last_nameWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Wednesday, November 28, 12
  • Restaurant - name - address - cuisine RECOMMENDS_A - comment - rating User - first_name - last_nameWednesday, November 28, 12
  • Restaurant SERVES - name Cuisine - address - comment RECOMMENDS_THE - rating User - first_name - last_nameWednesday, November 28, 12
  • SERVES Taj Mahal Indian cuisine - “Great garlic nan and tandoori” RECOMMENDS - 4/5 Fred JonesWednesday, November 28, 12
  • read sentences from graphWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Indexes for starting pointsWednesday, November 28, 12
  • User - email_address - first_name - last_nameWednesday, November 28, 12
  • Relationships for queryingWednesday, November 28, 12
  • User - email_address - first_name - last_name - shipping_state Select * where shipping_state = ‘Ca’?Wednesday, November 28, 12
  • User State - email_address LIVES_IN - name - first_name - code - last_nameWednesday, November 28, 12
  • Jess LIVES_IN California LIVES_IN LIVES_IN Andreas AndrewWednesday, November 28, 12
  • Use meaningful namesWednesday, November 28, 12
  • Language Country - language_id - country_id - name - name - word count - flag url - country_idWednesday, November 28, 12
  • Language LanguageCountry Country - language_id - language_id - country_id - name - country_id - name - word count - spoken_since - flag urlWednesday, November 28, 12
  • Language LanguageCountry Country - language_id - language_id - country_id - name - country_id - name - word count - spoken_since - flag urlWednesday, November 28, 12
  • Language Country IS_SPOKEN_IN - name - name - word count - flag urlWednesday, November 28, 12
  • Language Country IS_SPOKEN_IN - name - name - word count - flag url SIMILAR_TO ADJACENT_TOWednesday, November 28, 12
  • Anti-PatternsWednesday, November 28, 12
  • Hefty nodesWednesday, November 28, 12
  • User - first_name - ship_address - last_name - ship_city - email_address - ship_state - bill_address - ship_zip - bill_city - regular_customer - bill_state - bill_zipWednesday, November 28, 12
  • BILLS_TO Address User - first_name - street_address - last_name - city - email_address - state - regular_customer SHIPS_TO - zipWednesday, November 28, 12
  • BILLS_TO User Address - first_name - street_address - last_name SHIPS_TO - city - email_address - state - zip IS_A Regular customerWednesday, November 28, 12
  • Jess IS_A Regular customer IS_A IS_A Andreas AndrewWednesday, November 28, 12
  • Missing nodesWednesday, November 28, 12
  • EMAILED Peter JimWednesday, November 28, 12
  • SENT TO Peter Email JimWednesday, November 28, 12
  • Hot nodeWednesday, November 28, 12
  • Wednesday, November 28, 12
  • Key takeawaysWednesday, November 28, 12
  • Indexes for starting points Relationships for queries Read sentences from the graph Look out for verb’d nounsWednesday, November 28, 12
  • - Indexes for starting points - Relationships for queries - Read sentences from the graph - Look out for verb’d nounsData modeling with graphs @PeterBellWednesday, November 28, 12