From 0092b9a87057a813a18e5f08504f4f6350f03b67 Mon Sep 17 00:00:00 2001 From: annainfo Date: Thu, 6 Aug 2026 21:10:04 +0200 Subject: [PATCH] Modify Keanu's co-stars query to exclude himself Updated the query for Keanu's co-stars to exclude himself from the results. --- site/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/index.html b/site/index.html index e8c40f6..6163679 100644 --- a/site/index.html +++ b/site/index.html @@ -879,7 +879,7 @@

Learn

const EXAMPLES = [ { label: "Actors of 1999", q: `MATCH (p:Person)-[:ACTED_IN]->(m:Movie)\nWHERE m.released = 1999\nRETURN p.name, m.title` }, { label: "Directors", q: `MATCH (p:Person)-[:DIRECTED]->(m:Movie)\nRETURN m.title AS movie, p.name AS director` }, - { label: "Keanu's co-stars", q: `MATCH (a:Person)-[:ACTED_IN]->(m:Movie),\n (b:Person)-[:ACTED_IN]->(m)\nWHERE a.name = 'Keanu Reeves'\nRETURN b.name AS costar, m.title AS film` }, + { label: "Keanu's co-stars", q: `MATCH (a:Person)-[:ACTED_IN]->(m:Movie),\n (b:Person)-[:ACTED_IN]->(m)\nWHERE a.name = 'Keanu Reeves' AND b.name != 'Keanu Reeves'\nRETURN b.name AS costar, m.title AS film` }, { label: "Reviews + ratings", q: `MATCH (p:Person)-[r:REVIEWED]->(m:Movie)\nRETURN m.title AS film, r.rating AS rating` }, { label: "Count movies", q: `MATCH (m:Movie) RETURN count(m) AS movies` }, { label: "Whole nodes", q: `MATCH (m:Movie) WHERE m.released > 2005 RETURN m` },