Which of the following Cypher queries will return the actors who directed the movies they acted in?
|
(a) |
MATCH (actor)-[a:ACTED_IN]->(movie)<-[a:DIRECTED]-(actor) |
RETURN a |
|
|
(b) |
MATCH (actor)-[:ACTED_IN]->(movie) |
JOIN (movie)<-[:DIRECTED]-(actor) |
RETURN actor |
|
|
(c) |
MATCH (actor)-[:ACTED_IN]->(movie) |
CONNECT (movie)<-[:DIRECTED]-(actor) |
RETURN actor |
|
|
(d) |
MATCH (actor)-[:ACTED_IN]->(movie)<-[:DIRECTED]-(actor) |
RETURN actor |
|
|
(e) |
None of the above. |
|