Exercise
- Use a Cypher projection to build the projected graph we used in the first section. It must include nodes with the
MainTrainlabel and thenbMoviesandisUSCitizenproperties, along with relationships of theKNOWStype. - Create the graph represented in the following figure (same as Figure 7.4) in Neo4j. Then, run the Node2Vec algorithm by changing the
pandqparameters and try and understand their behavior:
Figure 8.4 – An example graph