Exploring variable-length paths

…In this video we're going to learn about variable length paths.…Variable length paths are worth noting because the variable length…can sometimes be something that you want to work with.…In cases of a graph of a lot of people.…If you take into consideration something like the six degrees of separation.…You may wish to calculate the shortest path or you can look at…how many nodes you want to pass through before you find your relationship.…

So if I wanted to find friends of mine that have…friends, and those other friends know somebody else that I know.…I can use a clause similar to this, a, and relationship…numerical indicator of one to three nodes, to a node of b.…Friends of friends would be an example of how we'd want to do this.…There's two examples here that queries.…I'm going to run each of them to show the difference.…The first one, we'll work with our favorite Canadian…born actor, Keanu, who is of a person node.…

And we're going to look for the specific name property.…And this name and node will have a path that we're going to follow with the newly…

Resume Transcript Auto-Scroll

Author

Released

5/29/2014

Why are people abandoning their RDMS databases and switching to graph databases like Neo4j? It's more than a "big data" trend. Graph databases can handle more complex data and relationships, which are baked in at the record level. Take a trip through the nuances of the most popular graph database, Neo4j, with Duane Nickull and find out if it's right for your data. He covers key concepts, like transitions, searches, and traversals, and shows you how to work with nodes, the relationships between nodes, and navigate large graphs of information. Developers will be interested in the chapters devoted to Cypher, the query language for finding, creating, modifying, and deleting Neo4J data. There are ten coding challenges sprinkled throughout the course, allowing you to test your Cypher skills, and the exercise files feature a fun, interactive mini "IMDB" that explores data from your favorite movies.