CALL db.schema.visualization()
MATCH (g:Genre)
RETURN g
LIMIT 1
MATCH (g:Genre)
RETURN g.name
MATCH (m:Movie)-[:IN_GENRE]->(g:Genre)
WHERE g.name = 'Comedy'
RETURN m.title
MATCH (m:Movie)
WHERE m.title = 'Tusk'
RETURN m
MATCH (actor:Actor)-[:ACTED_IN]->(m:Movie)
WHERE m.title = 'Tusk'
RETURN actor, m
MATCH (p:Person{name: 'Justin Long'})-->(m:Movie)
return p, m
MATCH (:Person{name: 'Justin Long'})-->(m:Movie)
return m.title
MATCH (:Person{name: 'Justin Long'})-[:ACTED_IN]->(m:Movie)<-[r:RATED]-(u:User)
return m.title, properties(r)
MATCH (:Person{name: 'Justin Long'})-[:ACTED_IN]->(m:Movie)<-[r:RATED]-(u:User)
return m.title As Movie, avg(r.rating) As AverageRating