Finding Emil

Hi - just evaluating Neo4J for our company - and thought I'd try the academy training. Didn't take long to gets stuck :(

As far as I can see Emil Eifrem didn't act in any movie. This query:
MATCH (p:Person)-[:ACTED_IN]->(m:Movie)
WHERE p:Person = 'Emil Eifrem'
RETURN m.title

returns no response.
Can someone give me a clue as to what I'm doing wrong?

Thanks!

Hi @sjoffe

You can search by property.
p:Person to p.name.

MATCH (p:Person)-[:ACTED_IN]->(m:Movie)
WHERE p.name = 'Emil Eifrem'
RETURN m.title

ah - perfect - many thanks @koji

1 Like

I'm still unable to get this to work. Emil appears to be an Actor and does not have any relationships to Movies.

Even the following query returns no results:

MATCH (p:Person)
WHERE p.name = "Emil Eifrem"
RETURN p

Hi @roswal

Are there 171 (Movie and Person) nodes?

@sjoffe, in the graph view of the browser, click the Emil Eifrem node. Then if you click the expand icon, you will be able to see all relationships from the Emil node.

Elaine

Running into a similar issue. It appears there are no Person nodes with the name "Emil Eifrem" in the dataset. Also tried exporting the names of all Person nodes in the dataset to csv and I'm not seeing any that resemble "Emile Eifrem".

image

EDIT: Looks like it was an issue with the testing environment. It works going to http://sandbox.neo4j.com/.

Ref: Deleting Emil - #10 by elaine_rosenber