| Afternoon all, I'm looking for some help writing a query. I've built this query so that it finds all friends that have a
reciprocated relationship and are not blocked friends. START n=node(1) MATCH (n)-[:friends]->(x) WHERE (x-[:friends]->n) AND NOT(n<-[:blocked_friends]-x) RETURN x I'm now trying to go one layer deeper and pull the friends of friends filtered by the same criteria on the first level and the second level. I set up the Neo4j console (http://console.neo4j.org/?id=j6cyp4) in hopes that it would be easier to visualize. I am trying to return just Mike starting with Bob. Any help would be greatly appreciated. Thanks. Chris |