Hi there!
Just add DISTINCT when you collect your Package names:
MATCH (s3:SEG3{name:'Engineering'})-[:MAP_TO]->(ANODE:Package{name:'A'})
WITH ANODE
MATCH (s4:SEG4{name:'Currency'})-[:MAP_TO]->(ANODE)
MATCH (GG)-[:DEPENDS_ON*0..]->(ANODE)
RETURN coll...
The following could work if you would have a csv that would look like that:
repair.csv
garageID;garageName;vehicleID
1;XZ Garage;[20,21,22]
2;AB Garage;[20,23]
Then try that:
LOAD CSV WITH HEADERS FROM "file:///repair.csv" AS csvLine FIELDTERMINATOR ...