1 Star 0 Fork 0

小胖孩/movies

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
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.

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/whereu/movies.git
git@gitee.com:whereu/movies.git
whereu
movies
movies
main

搜索帮助