SlideShare a Scribd company logo
opencypher.org | opencypher@googlegroups.comopencypher.org | opencypher@googlegroups.com
Lead openCypher Language Group (CLG)
Neo Technology
opencypher.orgopencypher.org | opencypher@googlegroups.com
•
•
opencypher.orgopencypher.org | opencypher@googlegroups.com
•
•
•
•
•
•
•
•
•
opencypher.orgopencypher.org | opencypher@googlegroups.com
•
• →
•
•
•
•
•
opencypher.orgopencypher.org | opencypher@googlegroups.com
•
•
•
•
•
•
•
•
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
≠
opencypher.orgopencypher.org | opencypher@googlegroups.com
•
•
•
•
•
•
•
•
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
● RETURN
● MATCH (a)-[r]->(b)
● WITH
● THEN
opencypher.orgopencypher.org | opencypher@googlegroups.com
RETURN => ...
opencypher.orgopencypher.org | opencypher@googlegroups.com
RETURN => LOAD GRAPH
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
LOAD GRAPH AT "graph://graphology.com/europe/uk"
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH => ...
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH => RETURN GRAPH
RETURN GRAPH
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH (a)-->(b) WITH a, b ...
opencypher.orgopencypher.org | opencypher@googlegroups.com
WITH a, r, b RETURN GRAPH FROM (a)-[r]->(b) ...
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH RETURN GRAPH FROM
p=(a)-[r]->(b) p=(a)-[r]->(b)
p=...
p
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH g=(a)-[r]->(b) + (c) + (d)-[r2]->(c)
g GRAPHLET PATH GRAPHLET
● g1+g2
● g1-g2
● g1&g2
● g1^g2
● annotation: g {:Label prop: 12}
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH g=(a)-[r]->(b) + (c) + (d)-[r2]->(c)
g
● union(g)
● g)
● ...
opencypher.orgopencypher.org | opencypher@googlegroups.com
RETURN GRAPH FROM <pat>
RETURN GRAPH FROM THROUGH
GRAPH FROM { CREATE () ... }
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH (c:City {name: "London"})
MATCH (c)<-[:LIVES_IN]-(a)-[:LOVES]-(b)-[:LIVES_IN]->(c)
WITH GRAPH FROM (x)-[:KNOWS]-(y)
WHERE NOT EXISTS { (x)-[:LOVES]-(y) }
MATCH (a)-(single_friend)-(b)
RETURN *
opencypher.orgopencypher.org | opencypher@googlegroups.com
opencypher.orgopencypher.org | opencypher@googlegroups.com
● RETURN * THEN ...
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
RETURN GRAPH
● UNION GRAPH
● INTERSECT GRAPH
● EXCLUSIVE UNION GRAPH
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
● LOAD GRAPH AT
● WITH GRAPH FROM THROUGH
● RETURN GRAPH FROM THROUGH
● RETURN WITH GRAPH
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
● GRAPH AT "url"
● GRAPH FROM <pat> THROUGH <pat-aggr>
● EMPTY GRAPH
● CURRENT GRAPH
● DEFAULT GRAPH
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
CREATE GRAPH <MyGraph:Label {name: 15}>
AT "url"
FROM g=(a)-[r]->(b)
THROUGH union(g)
ADD/MOVE GRAPH g TO "url"
REMOVE GRAPH g FROM "url"
DELETE GRAPH g
"Big"
Graph
opencypher.orgopencypher.org | opencypher@googlegroups.com
MATCH GRAPH <MyGraph:Label {name: 15}> ...
WITH GRAPH <MyGraph:Label {name: 15}> FROM ... THROUGH ...
LOAD GRAPH MyGraph ADD TO GRAPH ...
MATCH IN GRAPH ... REMOVE FROM GRAPH ...
SET MyGraph.name = 15 ADD MyGraph:SocialNetwork
REMOVE MyGraph.name REMOVE MyGraph:Experiment
opencypher.orgopencypher.org | opencypher@googlegroups.com
● MATCH g=... g
● MATCH GRAPH <G>
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com
SQL
opencypher.orgopencypher.org | opencypher@googlegroups.com
CYPHER 3.x
opencypher.orgopencypher.org | opencypher@googlegroups.com
CYPHER vNEXT
opencypher.orgopencypher.org | opencypher@googlegroups.com
●
●
●
●
●
opencypher.orgopencypher.org | opencypher@googlegroups.com

More Related Content

PDF
How openCypher is implemented in Neo4j
PPTX
Mapping Graph Queries to PostgreSQL
PDF
openCypher: Technology Compatibility Kit (TCK) and Vendor Extensions
PDF
Future features for openCypher: Schema, Constraints, Subqueries, Configurable...
PPTX
The openCypher Project - An Open Graph Query Language
PDF
Path Pattern Queries: Introducing Regular Path Queries in openCypher
PDF
The 2nd graph database in sv meetup
PDF
openCypher: Naming and Addressing Multiple Graphs
How openCypher is implemented in Neo4j
Mapping Graph Queries to PostgreSQL
openCypher: Technology Compatibility Kit (TCK) and Vendor Extensions
Future features for openCypher: Schema, Constraints, Subqueries, Configurable...
The openCypher Project - An Open Graph Query Language
Path Pattern Queries: Introducing Regular Path Queries in openCypher
The 2nd graph database in sv meetup
openCypher: Naming and Addressing Multiple Graphs

More from openCypher (20)

PDF
Learning Timed Automata with Cypher
PDF
Incremental View Maintenance for openCypher Queries
PDF
Formal semantics for Cypher queries and updates
PDF
Cypher.PL: an executable specification of Cypher semantics
PDF
Multiple Graphs: Updatable Views
PDF
Micro-Servicing Linked Data
PDF
Graph abstraction
PDF
From Cypher 9 to GQL: Conceptual overview of multiple named graphs and compos...
PDF
Cypher for Gremlin
PDF
Comparing PGQL, G-Core and Cypher
PDF
Multiple graphs in openCypher
PDF
Eighth openCypher Implementers Group Meeting: Status Update
PDF
Cypher for Gremlin
PDF
Supporting dates and times in Cypher
PDF
Seventh openCypher Implementers Group Meeting: Status Update
PDF
Academic research on graph processing: connecting recent findings to industri...
PDF
Property Graphs with Time
PDF
Cypher.PL: Executable Specification of Cypher written in Prolog
PDF
Use case: processing multiple graphs
PDF
openCypher Technology Compatibility Kit (TCK)
Learning Timed Automata with Cypher
Incremental View Maintenance for openCypher Queries
Formal semantics for Cypher queries and updates
Cypher.PL: an executable specification of Cypher semantics
Multiple Graphs: Updatable Views
Micro-Servicing Linked Data
Graph abstraction
From Cypher 9 to GQL: Conceptual overview of multiple named graphs and compos...
Cypher for Gremlin
Comparing PGQL, G-Core and Cypher
Multiple graphs in openCypher
Eighth openCypher Implementers Group Meeting: Status Update
Cypher for Gremlin
Supporting dates and times in Cypher
Seventh openCypher Implementers Group Meeting: Status Update
Academic research on graph processing: connecting recent findings to industri...
Property Graphs with Time
Cypher.PL: Executable Specification of Cypher written in Prolog
Use case: processing multiple graphs
openCypher Technology Compatibility Kit (TCK)
Ad

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Machine Learning_overview_presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Assigned Numbers - 2025 - Bluetooth® Document
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25-Week II
gpt5_lecture_notes_comprehensive_20250812015547.pdf
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine Learning_overview_presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Ad

openCypher: Syntax and Semantics for Multiple Graphs