Question: Which statement is preferred Cypher code for Neo4j?
- MATCH (:Person)-->(:Card)-->(:Company) RETURN count(vehicle)
- Match (:Person)-->(:Car):(vehicle:Car)-->(:Company) RETURN count(vehicle)
- MATCH (:Person)-->(vehicle:Car)-->(:Company) RETURN count(vehicle)
- MATCH (:Person)-->(:Card), (vehicle:Car)-->(:Company) RETURN count(vehicle)
Answer: The correct answer of the above question is Option C:MATCH (:Person)-->(vehicle:Car)-->(:Company) RETURN count(vehicle)