I want to query a list with a list

```
 p = ['Author-1', Author-2, Author-2]
 a = ['Author-1', Author-2]
 b = ['Author-1', Author-2, Author-3, Author-4]
 c = ['Author-4', Author-5, Author-6, Author-7]
 d = ['Author-5', Author-6, Author-7, Author-8]

```

using p, if one of the lists has at least author1 or author2 return it.

```
WITH p, a, b, c
UNWIND p
WITH DISTINCT p
MATCH (p)
with b as book, collect(g) as genre
WHERE genre in b.genre
return book.isbn, genre

```

my real example returns nothing, the genre is like p in the example above and b.genre is like b,c,d,e
the `WHERE genre in b.genre` is not working properly

```
MATCH (c:Customer { name : "Andrei Balanuta" })-[:CLIENT]-(o:Order)-[ol:ORDERLINE]-(b:Book)
UNWIND b.genre as  g
WITH DISTINCT g
MATCH (b:Book)
with b as book, collect(g) as genre
WHERE genre in b.genre
return book.isbn, genre

```