title: How to traverse an order list of node properties in neo4j?
body: <p>I'm new to neo4j , so your help is appreciated.</p>
  <p>I have a neo4j database with nodes that have a property &quot;Color&quot; and two relationship types, &quot;Previous&quot; and &quot;Next&quot;.  I have an ArrayList that contains node properties in the order they should be traversed, for example Blue, Red, Yellow.</p>
  <p>How do I traverse the graph to find if the exact path Node(Color:Blue) --&gt; Node(Color:Red) --&gt; Node(Color:Yellow) with no nodes in between and all relationships of type &quot;Next&quot;, exists in the database?</p>
  <p>I'm using neo4j embedded in a java application.</p>