Question: Which statement is preferred Cypher code for Neo4j?

  1. MATCH (:Person)-->(:Card)-->(:Company) RETURN count(vehicle)
  2. Match (:Person)-->(:Car):(vehicle:Car)-->(:Company) RETURN count(vehicle)
  3. MATCH (:Person)-->(vehicle:Car)-->(:Company) RETURN count(vehicle)
  4. 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)