Hi!

Having serious fun exploring the possibility of using Neo4j for my companies analytical needs.

I'm currently working on the following problem. I have a somewhat polluted topology. some paths between two **nodes of interest** look like:

```
(**node of interest 1**) - [:links to] -> (polluted node 1) - [:links to] -> (polluted node2) - ... -> (**node of interest 2**)
```

What is the best way to filter out this pollution and obtain a result like:

```
(**node of interest 1**) - [:links to] -> (**node of interest 2**)
```

In the fysical world my graph is representing the polluted nodes are nothing, they are a result of data entry.

The links between the fictional and 'real' nodes in entire path are in the fysical world one and the same thing. So by having this pollution any analytics on the graph (total distance for example for shortest path finding) would yield some proper garbage.