In question 2, we are given this query
MATCH (a:Person)-[:ACTED_IN]->(m:Movie) (m)<-[:WROTE]-(w:Person) WHERE m.released > 2005 RETURN a.name, m.title, m.released, w.name
where we have to correct it.
Its a multiple choice question of which two options are:
- Add a comma after the first pattern in the
- Add a
MATCHclause at the beginning of the second line.
Both the options are technically correct per se, the first one is just a bit more optimized.