CHALLENGE Add labels to the graph

Hello, I have tried to complete the [Importing CSV Data into Neo4j] (Importing CSV Data into Neo4j | Beginners | Free Neo4j Courses from GraphAcademy) course but it does not work. Results are not being validated. What can I do? I already deleted the db, try deleting all the nodes, information, etc.,
I even unenrolled from course and started from scratch to be facing the same error. This is frustrated, how can I get some help?

Thanks!

Can provide the link to the question. I will see what my answer was.

Hi Pedro,

Sorry you are experiencing problems.

Fyi - GraphAcademy is Cypher using the following script to verify that the lesson has been completed.

MATCH (a:Actor) with count(a) as numActors
MATCH (d:Director) with numActors, count(d) as numDirectors
return numActors + numDirectors = 450 as outcome

It is specifically looking for the correct number of Actor and Director labels on nodes in the graph.

If the data has been imported correctly when you run these 2 queries:

MATCH (p:Person)-[:ACTED_IN]->()
WITH DISTINCT p SET p:Actor
MATCH (p:Person)-[:DIRECTED]->()
WITH DISTINCT p SET p:Director

They should add 353 actor labels and 97 director labels making a total of 450 labels.

Have you run these queries to add the labels?

Martin