- Building Web Applications with Python and Neo4j
- Sumit Gupta
- 230字
- 2021-07-16 13:39:14
Chapter 2. Querying the Graph with Cypher
We never live in isolation and this hold true with our data, which is nothing more than an interconnection between varied kinds of domains known as graphs.
Graphs are complex and evolving, so, to extract data from these complex graphs, we need an efficient query mechanism that focuses on the domain model and encourages "What to retrieve?" instead of "How to retrieve?".
Neo4j introduces a powerful, declarative, and SQL-inspired graph query language, Cypher.
Cypher is designed to be a humane query language, that leverages the concepts of pattern and pattern matching and allows for expressive, efficient querying and updating of the graph store. Cypher is a relatively simple but very powerful language.
This chapter will provide you with an in-depth understanding of Cypher as a query language for Neo4j database. It will guide you through the anatomy of Cypher, and then will focus on the heart of Cypher: pattern and pattern matching. We will also discuss a real-world example where we will query complex graphs with Cypher.
At the end of this chapter, you will be well versed in the Cypher constructs and will be able to write Cypher queries for extracting data from complex graphs within no time.
This chapter will cover the following points:
- Basic anatomy of a Cypher query
- Pattern and pattern matching
- Working with nodes and relationships
- 計算機網絡
- Learning LibGDX Game Development(Second Edition)
- Spring Cloud Alibaba核心技術與實戰案例
- jQuery Mobile Web Development Essentials(Third Edition)
- Mastering Objectoriented Python
- C語言程序設計實訓教程
- Java程序設計與實踐教程(第2版)
- Getting Started with Python Data Analysis
- PLC編程與調試技術(松下系列)
- 網站構建技術
- Python忍者秘籍
- 深入理解Android:Wi-Fi、NFC和GPS卷
- Node.js:來一打 C++ 擴展
- 計算機應用基礎案例教程
- C#程序設計(項目教學版)