Cypher Level 2: Paths, Shortest Path, Aggregations

8 min
Audience
développeurs qui maîtrisent MATCH/WHERE/RETURN et veulent exploiter ce qu'un Graph fait mieux qu'une base relationnelle
Duration
30 à 35 min
Module
6/7
Learning Goal
enchaîner plusieurs sauts, calculer un plus court chemin, agréger avec collect/avg, écrire une recommandation, et Read un plan PROFILE

En une image

Sur un plan de métro, la Question « comment aller de la station A à la station B ? » ne se résout pas en lisant la liste des stations : il faut suivre les lignes, changer, compter les arrêts. Un Graph de cours, c'est un plan de métro : les prérequis sont des lignes, les étudiants qui ont pris les mêmes trains sont des voyageurs semblables. Cette Lesson apprend à Cypher à « suivre la ligne » sur plusieurs stations (*1..3), à trouver le trajet le plus court (shortestPath), à regrouper les voyageurs (collect, count) et à Verify, avec PROFILE, que le moteur n'a pas visité tout le réseau pour répondre.

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Neo4j and Cypher: Think in Graphs” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one