Difference between revisions of "Neo4j"

From FindAndLearn::Cookbook
Jump to: navigation, search
(Created page with "== Cypher == MATCH (d:Dashboard)-[p:HasInternalLink]->(r:Recipe) RETURN d,r MATCH (d:Dashboard)-[p]->(r:Recipe) RETURN d,r MATCH (d:Dashboard)-[p]->(r:Recipe{hasEntity...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Cypher ==
 
== Cypher ==
 +
 +
MATCH (d:Dashboard)--(r:Recipe)
 +
RETURN *
  
 
  MATCH (d:Dashboard)-[p:HasInternalLink]->(r:Recipe)
 
  MATCH (d:Dashboard)-[p:HasInternalLink]->(r:Recipe)
 
  RETURN d,r
 
  RETURN d,r
  
  MATCH (d:Dashboard)-[p]->(r:Recipe)
+
  MATCH (d:Dashboard)-[p]->(r:Recipe{hasEntityTitle:'Add/edit subject types'})
 
  RETURN d,r
 
  RETURN d,r
  
  MATCH (d:Dashboard)-[p]->(r:Recipe{hasEntityTitle:'Add/edit subject types'})
+
  MATCH (d:Dashboard)--(r:Recipe)
  RETURN d,r
+
OPTIONAL MATCH (r)--(s:SystemComponent)
 +
  RETURN *
 +
 
 +
MATCH (d:Dashboard)--(r:Recipe)
 +
MATCH (r)--(s:SystemComponent)
 +
MATCH (s)--(x)
 +
OPTIONAL MATCH (d)--(f:Tool)
 +
RETURN *

Latest revision as of 14:40, 16 January 2020

Cypher[edit | edit source]

MATCH (d:Dashboard)--(r:Recipe)
RETURN *
MATCH (d:Dashboard)-[p:HasInternalLink]->(r:Recipe)
RETURN d,r
MATCH (d:Dashboard)-[p]->(r:Recipe{hasEntityTitle:'Add/edit subject types'})
RETURN d,r
MATCH (d:Dashboard)--(r:Recipe)
OPTIONAL MATCH (r)--(s:SystemComponent)
RETURN *
MATCH (d:Dashboard)--(r:Recipe)
MATCH (r)--(s:SystemComponent)
MATCH (s)--(x)
OPTIONAL MATCH (d)--(f:Tool)
RETURN *