This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (n) | |
WHERE id(n) = {{"Suspicious Entity":node:["Person"]}} | |
SET n.suspicious = true | |
SET n.note = {{"Comment":string:{"placeholder":"Add a note..."}}} | |
RETURN n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (a), (b), p = allShortestPaths((a)-[*..{{"Maximum path length":number:{"default": 4, "min": 1, "max": 10}}}]-(b)) | |
WHERE ALL (r IN relationships(p) | |
WHERE type(r)= 'IS_SHAREHOLDER' AND r.shares > 0.20) AND id(a) = {{"Source":node:"Person"}} AND id(b) = {{"Target":node:"Company"}} | |
RETURN p LIMIT {{"Maxiumum number of paths":number:{"default":5, "min": 1, "max": 50}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create node events | |
load csv with headers from "file:///bdd.csv" as row | |
merge(e:Event {id: row.eventid}) | |
set e.nature=row.attacktype1_txt | |
set e.year=row.iyear | |
set e.month=row.imonth | |
set e.date=row.iday | |
Set e.latitude=row.latitude | |
Set e.longitude=row.longitude |
OlderNewer