SlideShare a Scribd company logo
The problem with
perspective is
that it’s
bidirectional

http://xkcd.com/230/
representing dates/times	

(using neo4j 1.9.5)
representing dates/times
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24

Year: 2013

:day_25

:day_26

Day: 25

Year: 2014
:month_06

Day: 26
Month: 06

:happens
Event 1

:happens
Event 2

:happens

:happens
Event 3

:month_01
Month 01
find all events on a specific day

START
MATCH

root=node(0)	
root-[:year_2013]-()-[:month_05]-()-[:day_24]-()-

[:happens]-event 	
RETURN event
representing dates/times
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24

Year: 2013

:day_25

:day_26

Day: 25

Year: 2014
:month_06

Day: 26
Month: 06

:happens
Event 1

:happens
Event 2

:happens

:happens
Event 3

:month_01
Month 01
find all events for a given range
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24
:happens
Event 1

:next
:happens
Event 2

Year: 2013

:day_25
Day: 25

:day_26
:next

:happens

:month_06

Day: 26
Month: 06
:happens

Event 3

Year: 2014
:month_01
Month 01
find all events for a given range

START root=node(0)	
MATCH root-[:year_2013]-()-[:month_05]-()-[:day_24]-start,

root-[:year_2013]-()-[:month_05]-()-[:day_26]-end,

start-[:next*0..]-middle-[:next*0..]-end,

middle-[:happens]-event

RETURN event
find all events for a given range
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24
:happens
Event 1

:next
:happens
Event 2

Year: 2013

:day_25
Day: 25

:day_26
:next

:happens

:month_06

Day: 26
Month: 06
:happens

Event 3

Year: 2014
:month_01
Month 01
find all events for a given range
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24
:happens
Event 1

:next
:happens
Event 2

Year: 2013

:day_25
Day: 25

:day_26
:next

:happens

:month_06

Day: 26
Month: 06
:happens

Event 3

Year: 2014
:month_01
Month 01
find all events for a given range
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24
:happens
Event 1

:next
:happens
Event 2

Year: 2013

:day_25
Day: 25

:day_26
:next

:happens

:month_06

Day: 26
Month: 06
:happens

Event 3

Year: 2014
:month_01
Month 01
find all events for a given range
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24
:happens
Event 1

:next
:happens
Event 2

Year: 2013

:day_25
Day: 25

:day_26
:next

:happens

:month_06

Day: 26
Month: 06
:happens

Event 3

Year: 2014
:month_01
Month 01
find all events for a given range

START root=node(0)	
MATCH root-[:year_2013]-()-[:month_05]-()-[:day_24]-start,

root-[:year_2013]-()-[:month_05]-()-[:day_26]-end,

start-[:next*0..]-middle-[:next*0..]-end,

middle-[:happens]-event

RETURN event
does an event happen on a certain date?

START event=node(20)	
MATCH event-[:day_24]-()-[:month_05]-()-[:year_2013]-()

RETURN event
does an event happen on a certain date?
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24

Year: 2013

:day_25

:day_26

Day: 25

Year: 2014
:month_06

Day: 26
Month: 06

:happens
Event 1 (20)

:happens
Event 2

:happens

:happens
Event 3

:month_01
Month 01
property vs. relationship type

constructing cypher queries	

execution plan cache vs.
property load	

creating and deleting calendar
graph
mixed property/relationship type

START
MATCH

root=node(0)	
root-[:year_2013]-()-[:month_05]-()-[:day_24]-()-

[:hour] - (hour_node) - [:happens]-event 	
WHERE 	
hour_node.hour = {hour}	
RETURN event
calendar creation
START ref_node = node(0)	
CREATE UNIQUE ref_node -	
[:year_2013] ->
[:month_11] ->
[:day_27]
->
	 	 	 	 	 	 	 	 	 [:hour]
->
RETURN hour_node

(year_node
(month_node
(day_node
(hour_node

{year:
{month:
{day:
{hour:

{year}})
{month}})
{day}})
{hour}})

-	
-
deleting calendar
root (0)
:year_2014

:year_2013
:month_05
Month: 05
:day_24
Day: 24

Year: 2013

:day_25

:day_26

Day: 25

Year: 2014
:month_06

Day: 26
Month: 06

:happens
Event 1

:happens
Event 2

:happens

:happens
Event 3

:month_01
Month 01
QUESTIONS?

Volker Pacher
!

volker@shutl.com
www.shutl.com

More Related Content

Recently uploaded

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Graph cafe-lightning

  • 1.
  • 2.
  • 3.
  • 4. The problem with perspective is that it’s bidirectional http://xkcd.com/230/
  • 6. representing dates/times root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 Year: 2013 :day_25 :day_26 Day: 25 Year: 2014 :month_06 Day: 26 Month: 06 :happens Event 1 :happens Event 2 :happens :happens Event 3 :month_01 Month 01
  • 7. find all events on a specific day START MATCH root=node(0) root-[:year_2013]-()-[:month_05]-()-[:day_24]-()-
 [:happens]-event RETURN event
  • 8. representing dates/times root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 Year: 2013 :day_25 :day_26 Day: 25 Year: 2014 :month_06 Day: 26 Month: 06 :happens Event 1 :happens Event 2 :happens :happens Event 3 :month_01 Month 01
  • 9. find all events for a given range root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 :happens Event 1 :next :happens Event 2 Year: 2013 :day_25 Day: 25 :day_26 :next :happens :month_06 Day: 26 Month: 06 :happens Event 3 Year: 2014 :month_01 Month 01
  • 10. find all events for a given range START root=node(0) MATCH root-[:year_2013]-()-[:month_05]-()-[:day_24]-start,
 root-[:year_2013]-()-[:month_05]-()-[:day_26]-end,
 start-[:next*0..]-middle-[:next*0..]-end,
 middle-[:happens]-event
 RETURN event
  • 11. find all events for a given range root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 :happens Event 1 :next :happens Event 2 Year: 2013 :day_25 Day: 25 :day_26 :next :happens :month_06 Day: 26 Month: 06 :happens Event 3 Year: 2014 :month_01 Month 01
  • 12. find all events for a given range root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 :happens Event 1 :next :happens Event 2 Year: 2013 :day_25 Day: 25 :day_26 :next :happens :month_06 Day: 26 Month: 06 :happens Event 3 Year: 2014 :month_01 Month 01
  • 13. find all events for a given range root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 :happens Event 1 :next :happens Event 2 Year: 2013 :day_25 Day: 25 :day_26 :next :happens :month_06 Day: 26 Month: 06 :happens Event 3 Year: 2014 :month_01 Month 01
  • 14. find all events for a given range root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 :happens Event 1 :next :happens Event 2 Year: 2013 :day_25 Day: 25 :day_26 :next :happens :month_06 Day: 26 Month: 06 :happens Event 3 Year: 2014 :month_01 Month 01
  • 15. find all events for a given range START root=node(0) MATCH root-[:year_2013]-()-[:month_05]-()-[:day_24]-start,
 root-[:year_2013]-()-[:month_05]-()-[:day_26]-end,
 start-[:next*0..]-middle-[:next*0..]-end,
 middle-[:happens]-event
 RETURN event
  • 16. does an event happen on a certain date? START event=node(20) MATCH event-[:day_24]-()-[:month_05]-()-[:year_2013]-()
 RETURN event
  • 17. does an event happen on a certain date? root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 Year: 2013 :day_25 :day_26 Day: 25 Year: 2014 :month_06 Day: 26 Month: 06 :happens Event 1 (20) :happens Event 2 :happens :happens Event 3 :month_01 Month 01
  • 18. property vs. relationship type constructing cypher queries execution plan cache vs. property load creating and deleting calendar graph
  • 19. mixed property/relationship type START MATCH root=node(0) root-[:year_2013]-()-[:month_05]-()-[:day_24]-()-
 [:hour] - (hour_node) - [:happens]-event WHERE hour_node.hour = {hour} RETURN event
  • 20. calendar creation START ref_node = node(0) CREATE UNIQUE ref_node - [:year_2013] -> [:month_11] -> [:day_27] -> [:hour] -> RETURN hour_node (year_node (month_node (day_node (hour_node {year: {month: {day: {hour: {year}}) {month}}) {day}}) {hour}}) - -
  • 21. deleting calendar root (0) :year_2014 :year_2013 :month_05 Month: 05 :day_24 Day: 24 Year: 2013 :day_25 :day_26 Day: 25 Year: 2014 :month_06 Day: 26 Month: 06 :happens Event 1 :happens Event 2 :happens :happens Event 3 :month_01 Month 01

Editor's Notes

  1. Its not all negative though... I believe delivery is the greatest potential weapon multichannel retailers have against the elephant in the room The reason Amazon is such a threat is that they have made consumers believe that there are only two reasons to buy online... range and price... conveniently they have a structural advantage in both these areas...
  2. Increase order value Improve conversion Happier customers