I'm trying to run " Link Prediction Toy Problem - Neo4J & SciKit-Learn". I have this query for the author/coauthor data:
query='''
MATCH (a1)<-[:AUTHOR]-(paper)-[:AUTHOR]->(a2:Author)
WITH a1, a2, paper
ORDER BY a1, paper.year
WITH a1, a2, collect(p...