neo4j入门 [英] Getting started with neo4j

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

问题描述

我对neo4j完全陌生,非常抱歉提出这样一个基本问题.我已经安装了neo4j,正在使用外壳程序"localhost: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 的优点之一是它提供的出色的文档和学习资料(尤其是与其他启用了Graph的数据库相比).

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.

然后,当您学习基础知识时,请查看 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).

最后,当您开始进行自己的查询时,请密切注意密码备忘单的副本.总结所有命令.

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).

注意事项:开始阅读时,您可能会遇到克里姆林宫,这是一种常见的图形查询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天全站免登陆