Figure Database Neo4j installation and Getting started:

Source: Internet
Author: User
Tags windows download neo4j

NEO4J official website: https://neo4j.com/
Windows download Desktop installation package install registered account login
First Use process:
1. Create a new database, select Local, enter the name test, and select the default database version.

2. Click the Start button, then open in the browser, enter the URL localhost:7474/

3. Creating a Movie Database (Create, Find, Query, Solve)
1) Create

Create (Thematrix:movie {title: ' The Matrix ', released:1999, tagline: ' Welcome to the Real World ') create (Keanu:person {NA Me: ' Keanu Reeves ', born:1964}) Create (Carrie:person {name: ' Carrie-anne Moss ', born:1967}) Create (Laurence:person {Name : ' Laurence Fishburne ', born:1961}) Create (Hugo:person {name: ' Hugo Weaving ', born:1960}) Create (Lillyw:person {name: ') Lilly Wachowski ', born:1967}) Create (Lanaw:person {name: ' Lana Wachowski ', born:1965}) Create (Joels:person {name: ' Joel S Ilver ', born:1952}) CREATE (Keanu)-[:acted_in {roles:[' Neo ']}]-> (Thematrix), (Carrie)-[:acted_in {roles:[' Trinity ']}]-> (Thematrix), (Laurence)-[:acted_in {roles:[' Morpheus ']}]-> (Thematrix), (Hugo)-[:acted_in {roles : [' Agent Smith ']}]-> (Thematrix), (LILLYW)-[:D irected]-> (Thematrix), (Lanaw)-[:D irected]-> (Thematrix), ( Joels)-[:P roduced]-> (Thematrix) Create (Emil:person {name: "Emil eifrem", born:1978}) Create (Emil)-[:acted_in { roles:["Emil"]}]-> (Thematrix) CREATE (ThematrixreloAded:movie {title: ' The Matrix Reloaded ', released:2003, tagline: ' Free Your Mind '}) CREATE (Keanu)-[:acted_in {roles:[' Ne O ']}]-> (thematrixreloaded), (Carrie)-[:acted_in {roles:[' Trinity ']}]-> (thematrixreloaded), (Laurence)-[: acted_in {roles:[' Morpheus ']}]-> (thematrixreloaded), (Hugo)-[:acted_in {roles:[' Agent Smith ']}]-> ( thematrixreloaded), (LILLYW)-[:D irected]-> (thematrixreloaded), (Lanaw)-[:D irected]-> (thematrixreloaded), ( Joels)-[:P roduced]-> (thematrixreloaded) CREATE (Thematrixrevolutions:movie {title: ' The Matrix revolutions ', released:2003, tagline: ' Everything that have a beginning have an end '}) CREATE (Keanu)-[:acted_in {roles:[' Neo ']}]-> (Th ematrixrevolutions), (Carrie)-[:acted_in {roles:[' Trinity ']}]-> (thematrixrevolutions), (Laurence)-[:acted_in { roles:[' Morpheus ']}]-> (thematrixrevolutions), (Hugo)-[:acted_in {roles:[' Agent Smith ']}]-> ( thematrixrevolutions), (LILLYW)-[:D irected]-> (Thematrixrevolutions), (Lanaw)-[:D IRECted]-> (Thematrixrevolutions), (joels)-[:P roduced]-> (thematrixrevolutions) CREATE (Thedevilsadvocate:movie { Title: "The Devil ' s advocate", released:1997, Tagline: ' Evil have its winning Ways '}) CREATE (Charlize:person {name: ' Charliz E Theron ', born:1975}) Create (Al:person {name: ' Al Pacino ', born:1940}) Create (Taylor:person {name: ' Taylor hackford ', Bor n:1944}) CREATE (Keanu)-[:acted_in {roles:[' Kevin Lomax ']}]-> (thedevilsadvocate), (Charlize)-[:acted_in {roles:[' Mary Ann Lomax ']}]-> (thedevilsadvocate), (Al)-[:acted_in {roles:[' John Milton ']}]-> (thedevilsadvocate), ( Taylor)-[:D irected]-> (thedevilsadvocate) CREATE (Afewgoodmen:movie {title: "A Few Good Men", released:1992, tagline: "In the heart of the nation's capital, in a courthouse of the U.S. government, one man would stop at nothing to keep his Ho
Nor, and one would stop at nothing to find the truth. "}) Create (Tomc:person {name: ' Tom Cruise ', born:1962}) Create (Jackn:person {name: ' Jack Nicholson ', born:1937})
Create (Demim:person {name: ' Demi Moore ', born:1962}) Create (Kevinb:person {name: ' Kevin Bacon ', born:1958}) Create (Kiefe Rs:person {name: ' Kiefer Sutherland ', born:1966}) Create (Noahw:person {name: ' Noah wyle ', born:1971}) Create (cubag: person {name: ' Cuba gooding Jr. ', born:1968}) Create (Kevinp:person {name: ' Kevin Pollak ', born:1957}) Create (Jtw:person {n Ame: ' J.T. Walsh ', born:1943}) Create (Jamesm:person {name: ' James Marshall ', born:1967}) Create (Christopherg:person { Name: ' Christopher Guest ', born:1948}) Create (Robr:person {name: ' Rob Reiner ', born:1947}) Create (Aarons:person {name: ') Aaron Sorkin ', born:1961}) CREATE (TOMC)-[:acted_in {roles:[' Lt. Daniel kaffee ']}]-> (afewgoodmen), (JACKN)-[:acted_ In {roles:[' Col. Nathan R. Jessup ']}]-> (afewgoodmen), (Demim)-[:acted_in {roles:[' Lt. Cdr. JoAnne Galloway ']}]-> ( Afewgoodmen), (KEVINB)-[:acted_in {roles:[' Capt. Jack Ross ']}]-> (afewgoodmen), (kiefers)-[:acted_in {roles:[' Lt. J
 Onathan Kendrick ']}]-> (afewgoodmen), (NOAHW)-[:acted_in {roles:[' cpl. Jeffrey Barnes ']}]-> (afewgoodmen), (cubag)-[:acted_in {roles:[' Cpl. Carl Hammaker ']}]-> (afewgoodmen), (KEVINP)-[:acted_in {roles:[' Lt. Sam Weinberg ']}]-> (afewgoodmen), (JTW)-[:acted_ In {roles:[' Lt. Col. Matthew Andrew Markinson ']}]-> (afewgoodmen), (JAMESM)-[:acted_in {roles:[' Pfc. Louden Downey ']} ]-> (Afewgoodmen), (Christopherg)-[:acted_in {roles:[' Dr Stone ']}]-> (afewgoodmen), (Aarons)-[:acted_in {roles

: [' Man in Bar ']}]-> (afewgoodmen), (ROBR)-[:D irected]-> (Afewgoodmen), (Aarons)-[:wrote]-> (afewgoodmen)
CREATE (Topgun:movie {title: "Top Gun", released:1986, Tagline: ' I feel the need, the need for Speed. '}) Create (Kellym:person {name: ' Kelly mcgillis ', born:1957}) Create (Valk:person {name: ' Val Kilmer ', born:1959}) Create (Ant Honye:person {name: ' Anthony Edwards ', born:1962}) Create (Toms:person {name: ' Tom Skerritt ', born:1933}) Create (Megr: person {name: ' Meg Ryan ', born:1961}) CREATE (Tonys:person {name: ' Tony ScOtt ', born:1944}) Create (Jimc:person {name: ' Jim Cash ', born:1941}) Create (TOMC)-[:acted_in {roles:[' Maverick ']}]-> (TopGun), (Kellym)-[:acted_in {roles:[' Charlie ']}]-> (TopGun), (ValK)-[:acted_in {roles:[' Iceman ']}]-> (TopGun ), (Anthonye)-[:acted_in {roles:[' Goose ']}]-> (TopGun), (TomS)-[:acted_in {roles:[' Viper ']}]-> (TopGun), (Megr)

-[:acted_in {roles:[' Carole ']}]-> (TopGun), (Tonys)-[:D irected]-> (TopGun), (JIMC)-[:wrote]-> (TopGun)
CREATE (Jerrymaguire:movie {title: ' Jerry Maguire ', released:2000, tagline: ' The rest of his life begins now. '})
Create (Reneez:person {name: ' Renee Zellweger ', born:1969}) Create (Kellyp:person {name: ' Kelly Preston ', born:1962}) Create (Jerryo:person {name: "Jerry O ' Connell", born:1974}) Create (Jaym:person {name: ' Jay Mohr ', born:1970}) Create (Bonn Ieh:person {name: ' Bonnie Hunt ', born:1961}) Create (Reginak:person {name: ' Regina King ', born:1971}) Create (jonathanl: person {name: ' Jonathan Lipnicki ', born:1996}) CREATE (CameroNc:person {name: ' Cameron Crowe ', born:1957}) CREATE (TOMC)-[:acted_in {roles:[' Jerry Maguire ']}]-> (Jerrymaguire), ( Cubag)-[:acted_in {roles:[' Rod Tidwell ']}]-> (Jerrymaguire), (Reneez)-[:acted_in {roles:[' Dorothy Boyd ']}]-> ( Jerrymaguire), (kellyp)-[:acted_in {roles:[' Avery Bishop ']}]-> (Jerrymaguire), (Jerryo)-[:acted_in {roles:[' Frank Cushman ']}]-> (Jerrymaguire), (Jaym)-[:acted_in {roles:[' Bob Sugar ']}]-> (Jerrymaguire), (Bonnieh)-[:acted_in { roles:[' Laurel Boyd ']}]-> (Jerrymaguire), (Reginak)-[:acted_in {roles:[' Marcee Tidwell ']}]-> (Jerrymaguire), ( JONATHANL)-[:acted_in {roles:[' Ray Boyd ']}]-> (Jerrymaguire), (Cameronc)-[:D irected]-> (Jerrymaguire), ( Cameronc)-[:P roduced]-> (Jerrymaguire), (Cameronc)-[:wrote]-> (jerrymaguire) CREATE (Standbyme:movie {title: " Stand by Me ", released:1986, Tagline:" For some, it's the last real taste of innocence, and the first real taste of life. But for everyone, it's the time that memories is made OF. "}) Create (Riverp:person {name: ' River Phoenix ', born:1970}) Create (Coreyf:person {name: ' Corey Feldman ', born:1971}) Create (Wilw:person {name:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.