I'm new to Neo4j and Cypher. I have a large graph of people related by friendship and I would like to get all of the paths starting from 1 person but stopping at a friend from another state. I need to show the first friend from the other state but none of his/her friends. Basically, I want the path to end when it find a node who's related friend is not from the specified state. Any help would be greatly appreciated.
Jack {st:'MI'}<-[Friend]-Jill {st:'MI'}<-[Friend]-John {st:'OH'}<-[Friend]-Tim {st:'OH'}
Query should only return Jack, Jill and John. Not Tim.
Edit/Addition
John <-[Friend]-Joan {st:'MI'}
Joan should also not be returned in the query.
Thanks!