Space Race/MATCH Tutorial: Difference between revisions
From NoSQLZoo
ChrisHouston (talk | contribs) No edit summary |
ChrisHouston (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== | == Visualisation == | ||
Revision as of 09:04, 27 November 2019
Visualisation
Click here for 3d graph visualisation
Institutions
UseMATCH
andRETURN
to show nodes that are Institutions rather than Astronauts
Show Institutions instead of Astronauts
MATCH(n:Astronaut) RETURN n;
MATCH(n:Institution) RETURN n;
Born in Russia
Use WHERE
to specify conditions
Show Astronauts born in Russia rather than the USA
MATCH(n:Astronaut)-[:BORN_IN]-(c:Country) WHERE c.name = 'United States of America' RETURN n;
MATCH(n:Astronaut)-[:BORN_IN]-(c:Country) WHERE c.name = 'Russia' RETURN n;
Acknowledgements
NoSQLZoo is made possible by the following open-source technologies: