GithubHelp home page GithubHelp logo

rmennes / movies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j-graph-examples/movies

0.0 0.0 0.0 2.54 MB

Built-in Movie Graph Example

Home Page: https://sandbox.neo4j.com/?usecase=movies

JavaScript 14.24% Python 11.20% Java 22.20% Go 32.66% C# 19.71%

movies's Introduction

icon

Movies Graph Example

Description: Small example graph of popular movies and actors

model
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (movie:Movie {title:$favorite})<-[:ACTED_IN]-(actor)-[:ACTED_IN]->(rec:Movie)
 RETURN distinct rec.title as title LIMIT 20

Setup

This is for Neo4j version: 3.5,4.0

The database is also available on https://demo.neo4jlabs.com:7473

Username "movies", password: "movies", database: "movies"

Rendered guide available via: :play https://guides.neo4j.com/sandbox/movies/index.html

Load graph data via the following:

Dump file: data/movies-40.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/movies-40.dump [--database "database"]

Data load script: scripts/movies.cypher

bin/cypher-shell -u neo4j -p "password" -f scripts/movies.cypher [-d "database"]

Or import in Neo4j Browser by dragging or pasting the content of scripts/movies.cypher.

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.

movies's People

Contributors

jexp avatar jmhreif avatar lju-lazarevic avatar fbiville avatar spgandhi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.