Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-28-2022 03:01 AM
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!
03-28-2022 04:52 AM
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
03-31-2022 09:36 AM
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
03-31-2022 02:39 PM
04-04-2022 05:04 AM
@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
All the sessions of the conference are now available online