The great examples shown here (Neo4j Developer Guides | Neo4j Graph Database Platform) don't have a way to load the data into your Neo4j Desktop Browser. Just copy and paste this into the Browser command line to load the nodes and relationships into the property graph so you can then execute the example queries:
[Friends of Friends]
[Common Friends]
[Connecting Paths]
UNWIND
[["Jim","Mike"],["Jim","Billy"],["Anna","Jim"],
["Anna","Mike"],["Sally","Anna"],["Joe","Sally"],
["Joe","Bob"],["Bob","Sally"]]
AS pair
MERGE (p1:Person {name:pair[0]})
MERGE (p2:Person {name:pair[1]})
MERGE (p1)-[:KNOWS]-(p2)