I have relationships and nodes like this
(x:Execution)-[:with]->(first:Param)->[:with]-(second:Param)-...[:with]->(last:Param)
Here (Param) can be any number of times and (Execution) is optional and may be missing. I need to find all such (first:Param) where (Execution) is missing.
Can anyone help me write Neo4j Cypher query for this?