So I work with a neo4j database and I would like to find certain people in this database. People are stored as nodes and have certain properties and relationships to other nodes. Now I have a list (xlsm/csv file) of people I want to find. This list contains about 8000 names as well as other properties I could use for the query.
I manage to search for nodes by using individual names from the list, for example:
MATCH (n)
WHERE n.name = 'Peter'
RETURN n.name, n.age
I also understand that I can see if a property appears in a list of strings:
MATCH (a)
WHERE a.name IN ['Peter', 'Timothy']
RETURN a.name, a.age
However, I cannot create a query by manually entering the thousands of names in the list. So what is the most efficient way to filter by the people I want to find?