I think I got the general approach I need. I used the Movie database to 
test it out and this worked

MATCH (a)
OPTIONAL MATCH (a) -[:WROTE*1..1]-> (b)
OPTIONAL MATCH (a) -[:DIRECTED*1..1]-> (c)
RETURN a, b, c

Obviously I just have to add the top portion from my query and use OPTIONAL 
MATCH to make sure I get the player and all the relationships that have 
relationships to other nodes even if one or two relationships don't exist.

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to