Answer
The issue likely stems from the `pageRank` algorithm not detecting any meaningful connections between nodes, resulting in all scores being `0.0`. Since `isLandmark` is determined by the score threshold, no nodes meet the criteria. Verify the graph structure by running `MATCH (n) RETURN COUNT(n)` to confirm node existence and `MATCH (n)-[:RELATED_TO]->(m) RETURN COUNT(*)` to check for relationships. Ensure the `pageRank` configuration includes a `relationshipType` and `iterations` parameter to allow scoring. Example: `CALL gds.pageRank.stream('graphName', { relationshipType: 'RELATED_TO', iterations: 10 })`.
372cf702-6ee4-4ea3-b9bd-c395bc0d519a
The issue likely stems from the pageRank algorithm not detecting any meaningful connections between nodes, resulting in all scores being 0.0. Since isLandmark is determined by the score threshold, no nodes meet the criteria. Verify the graph structure by running MATCH (n) RETURN COUNT(n) to confirm node existence and MATCH (n)-[:RELATED_TO]->(m) RETURN COUNT(*) to check for relationships. Ensure the pageRank configuration includes a relationshipType and iterations parameter to allow scoring. Example: CALL gds.pageRank.stream('graphName', { relationshipType: 'RELATED_TO', iterations: 10 }).