Lead openCypher Language Group (CLG) Neo Technology opencypher.org - - PowerPoint PPT Presentation

lead opencypher language group clg neo technology
SMART_READER_LITE
LIVE PREVIEW

Lead openCypher Language Group (CLG) Neo Technology opencypher.org - - PowerPoint PPT Presentation

Lead openCypher Language Group (CLG) Neo Technology opencypher.org opencypher.org | opencypher@googlegroups.com opencypher.org opencypher.org | opencypher@googlegroups.com


slide-1
SLIDE 1
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

Lead openCypher Language Group (CLG) Neo Technology

slide-2
SLIDE 2
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-3
SLIDE 3
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-4
SLIDE 4
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-5
SLIDE 5
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-6
SLIDE 6
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-7
SLIDE 7
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-8
SLIDE 8
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-9
SLIDE 9
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-10
SLIDE 10
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-11
SLIDE 11
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-12
SLIDE 12
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-13
SLIDE 13
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-14
SLIDE 14
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-15
SLIDE 15
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

slide-16
SLIDE 16
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
  • this

≠ data

  • MATCH (a)-[r]->(b)

RETURN GRAPHS *

slide-17
SLIDE 17
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-18
SLIDE 18
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
  • RETURN GRAPH

RETURN GRAPHS *

  • INTERSECT
slide-19
SLIDE 19
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

1. RETURN GRAPH <"graph://icij.org/panama"> 2. RETURN GRAPH <"graph://wikipedia.org/edits" { lang: "de" }> 3. MATCH <g:Autobahn:Road> WHERE g.limit > 120 RETURN GRAPHS FROM g 4. IN GRAPH <"graph://my-app.com/my-graph1"> MATCH (a)-[r]->(b) RETURN GRAPH

slide-20
SLIDE 20
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

1. MATCH (a:Person)-[:KNOWS*3]-(c:Person) WHERE EXISTS IN GRAPH <"graph://my-app.com/my-graph2"> { (a)-[:ALUMNI_OF]->(:University)<-[:ALUMNI_OF]-(c) } RETURN GRAPH * 2. MATCH <g:Industry> WHERE EXISTS IN GRAPH <"graph://ipcc/studies/resources"> { MATCH (r:Resource)-[l:MEASURED]->(:Study) WHERE l.scarce = 'very' MATCH IN GRAPH g (r)-[:DEPENDS_ON*]->(:Manufacturer) } RETURN GRAPHS FROM g

data g data

slide-21
SLIDE 21
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

1. MATCH <g1:Network {country: "DE"}> RETURN GRAPHS * INTERSECT GRAPHS MATCH <g2:Network {country: "SE"}> RETURN GRAPHS * 2. MATCH { MATCH <g_today "graph://.../2017-Feb-08"> RETURN GRAPH EXCEPT GRAPHS MATCH <g_yesterday "graph://.../2017-Feb-07"> RETURN GRAPH } RETURN GRAPH 3. UNION, EXCLUSIVE UNION, ... 4. RETURN g_today - g_yesterday

slide-22
SLIDE 22
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

IN GRAPH { MATCH UNIQUE NODES (a)-[:KNOWS]-(b)-[:KNOWS]-(c)-[:KNOWS]-(a) RETURN GRAPHS UNION MATCH UNIQUE NODES (a:Java)-[:KNOWS]-(b:Scala)-[:KNOWS]-(c:Java) WHERE a.city = b.city AND b.city = c.city RETURN GRAPHS } MATCH (a:Scala)-[:KNOWS]-(b) RETURN a, count(b) AS deg ORDER BY deg ASC

slide-23
SLIDE 23
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
  • MATCH (a)-[:KNOWS]->(b)

CREATE GRAPH <g’> { CREATE (p:Person {name: a.first}) MERGE (p)-[:KNOWS]->({total: sum(b)}) }

slide-24
SLIDE 24
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
slide-25
SLIDE 25
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com
  • CIR-2017-182
slide-26
SLIDE 26
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com

CIR-2017-182

slide-27
SLIDE 27
  • pencypher.org
  • pencypher.org | opencypher@googlegroups.com