SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
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

Más contenido relacionado

Último

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Último (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Destacado

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 ChatGPTExpeed 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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil 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 2024Albert 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 InsightsKurio // 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 2024Search 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 summarySpeakerHub
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit 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 managementMindGenius
 
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
 

Destacado (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

Notas del editor

  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