# Similarity Problem

Hi, I have this db:

and i whant to check the similarity between a x:person and the people that he follows. So i create a graph like this:
CALL gds.graph.create.cypher(
'my-cypher-graph7',
'MATCH (n) where n:Person or n:Movie RETURN id(n) AS id',
'MATCH (a:Person)-[:FOLLOWS]->(b:Person)-[:LIKES]->(x:Movie) where a.name="Emanuele Mori" RETURN id(b) AS source, id(x) AS target'

)
YIELD graphName, nodeCount, relationshipCount, createMillis

and using the Node similarity algorithm I find the similarity between the people who x follows and not between x and the people.

Hi Salvatore,
Did you have a question?

What does your cypher look like to do the similarity and are you getting the results you wanted?

Regards,
Joel