Confira os slides da palestra realizada no dia 01/04 sobre sistemas de recomendação com Neo4j 3.x
Veja também os comandos utilizados para o HandsOn:
// Movie Graph :play movie-graph Match MATCH (tom {name: "Tom Hanks"}) RETURN tom Limit MATCH (n:Movie) RETURN n LIMIT 25 Insert Node CREATE (Jhonathan:Person {name:'Jhonathan Soares', born:1990}) Insert Relationship MATCH (p:Person {name:'Jhonathan Soares'}), (m:Movie {title:'The Matrix'}) CREATE (p)-[:ACTED_IN {roles:['Figurant']}]->(m) Shortestpath MATCH (jhonathan:Person { name:'Jhonathan Soares' }),(keanu:Person { name: 'Keanu Reeves' }), p = shortestPath((jhonathan)-[*..15]-(keanu)) RETURN p Execution Plan EXPLAIN MATCH (jhonathan:Person { name:'Jhonathan Soares' }),(keanu:Person { name: 'Keanu Reeves' }), p = shortestPath((jhonathan)-[*..15]-(keanu)) RETURN p
Um grande abraço a todos!