Graph database_Learn cypher language in Neo4j_Use CQL command 001_Operation_Import data_Create node_Create relationship_Relationship query_Node query---Neo4j graph database work notes 0005

This cypher language is based on graph query and CQL language is very powerful

This database is still very good and can clearly display complex relationships.

 

First let’s take a look at the syntax

 

You can see here () uses brackets to represent a node, and then uses [] to represent a relationship. Here, :knows is the label of the relationship, indicating what the relationship is. For example, the node Zhou Yu here - is connected to the relationship knowledge, and then points to ->fox node, represents

Zhou Yu knows fox. The two of them knew each other, and then

(Zhou Yu)-[:knows]->(Zhuge) It can be seen that this relationship is that Zhou Yu knows Zhuge

That's how it's expressed

 

Then there are detailed documents on the official website that explain how to do it.

https://neo4j.com/docs/

You can see that you can see the details of the map by visiting this address.

おすすめ

転載: blog.csdn.net/lidew521/article/details/132313278