Multiple queries with same MATCH statement

Your first statement could do a return id(n) as id.

In your follow-up statements you'd use match (n) where id(n)=$i .... and pass in {id: <id from 1st query>} as a parameter. This does a simple lookup by id which is basically a seek operation - extremely fast.

Another idea would be to run all your stuff in one single statement, cypher has a foreach / unwind.