Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MATCH ( o:Other )
- WHERE o.countries IS NOT NULL AND NOT o.countries contains ";"
- MERGE ( c:Country { name:o.countries })
- MERGE ( o )-[:IN_COUNTRY]->(c)
- RETURN c
- MATCH ( c:Country {name : "UnitedStates" })<-[e]-(o)
- RETURN c,e,o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement