kieni17

Untitled

May 5th, 2020
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.29 KB | None | 0 0
  1. MATCH ( i:Intermediary )-[:INTERMEDIARY_OF]->( e:Entity )<-[:
  2. OFFICER_OF]-( o:Officer )-[:OFFICER_OF]->( e2:Entity )<-[:
  3. INTERMEDIARY_OF]-(i)
  4. WHERE NOT e.countries = e2.countries
  5. AND ( NOT e.jurisdiction = e.country_codes
  6. OR NOT e2.jurisdiction= e2.country_codes )
  7. RETURN i,e,e2,o
  8. LIMIT 1
Add Comment
Please, Sign In to add comment