neo4j 入门 [英] Getting started with neo4j

查看:31
本文介绍了neo4j 入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Neo4j 完全陌生,我很抱歉提出这样一个基本问题.我已经安装了neo4j,我正在使用shelllocalhost:7474/webadmin/#/console/"我正在寻找一个很好的例子,它使用一些 shell 命令从预先存在的图形数据库中读取、遍历、修改……然后执行一些查询以学习它.我不想使用任何 Java 或 Python,我想要的只是一些命令行示例,可以让我学习 neo4j.我搜索了很多,但除了一个矩阵示例外,找不到好的示例代码.我很感激任何帮助.

I am completely new to neo4j and I am very sorry for asking such a basic question. I have installed neo4j, I am using the shell "localhost:7474/webadmin/#/console/" I am looking for a good example that uses some shell commands to read from a pre-existing graph database, traverse, modify,... it and then perform some queries in order to learn it. I don't want to use any Java or Python, all I want is some command line examples that will allow me to learn neo4j. I searched a lot but could not find a good sample code except one matrix example. I appreciate any help.

推荐答案

Neo4J 的优点之一是它提供的优秀文档和学习材料(尤其是与其他支持图形的数据库相比).

One of the virtues of Neo4J is the excellent documentation and learning material it provides (especially compared to other Graph enabled DBs).

如前所述,从 Cypher 教程开始是一个很好的起点.

As mentioned, starting with The Cypher Tutorial is a good starting point.

然后,在学习基础知识时,请查看 The Neo4J 手册,其中有详细的文档关于每一个 Cypher 语言命令(以及许多其他有趣的东西).

Then, as you learn the basics, check out The Neo4J Manual which has detailed documentation on each and every Cypher language command (as well as many other interesting stuff).

最后,当您开始进行自己的查询时,请保留一份 Cypher Cheat Sheet总结了所有的命令.

Finally, when you start doing your own queries, keep close a copy of the Cypher Cheat Sheet which summarizes all the commands.

您甚至可以在不安装或运行 Neo4J 服务器的情况下查看 Cypher,只需转到 Neo4J 控制台并在线测试您的查询(甚至创建指向它们的链接).

You can even take a look at Cypher without installing or running Neo4J server, just going to the Neo4J Console and test your queries online (and even create links to them).

警告:当您开始阅读时,您可能会遇到 Gremlin,这是一种常见的图形查询Neo4J 支持的语言.和 Cypher 很别扭,很不一样,所以如果你用 Neo4J,你应该坚持使用 Cypher,它有更多的功能,大部分开发都是针对它进行的.

Caveat: when you start reading you may encounter with Gremlin, which is a common graph query language supported by Neo4J. Is quite awkward and very different from Cypher, so if you are going with Neo4J, you should stick to Cypher, it has more features and most of the development is made against it.

这篇关于neo4j 入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆