How to specify relationship type in CSV?
问题 I have a CSV file with data like: ID,Name,Role,Project 1,James,Owner,TST 2,Ed,Assistant,TST 3,Jack,Manager,TST and want to create people whose relationships to the project are therein specified. I attempted to do it like this: load csv from 'file:/../x.csv' as line match (p:Project {code: line[3]}) create (n:Individual {name: line[1]})-[r:line[2]]->(p); but it barfs with: Invalid input '[': expected an identifier character, whitespace, '|', a length specification, a property map or ']' (line