A docker image containing Buzzfeed's TrumpWorld dataset loaded into Neo4j.
489
This is a Neo4j docker image containing the Trump World dataset. See the blog post for more details - https://neo4j.com/blog/buzzfeed-trumpworld-dataset-neo4j/
You can start a Neo4j container containing the Trump World dataset like this:
docker run --publish=7474:7474 --publish=7687:7687 markhneedham/neo4j-3.1-trumpworld
which allows you to access neo4j through your browser at http://localhost:7474.
You can then run the following queries:
MATCH (o:Organization)-[r]-()
RETURN o.name, count(*), collect(distinct type(r)) AS types
ORDER BY count(*) DESC
LIMIT 5
MATCH network = (:Person {name:"JARED KUSHNER"})-[*..2]-()
RETURN network
MATCH (bank:Organization)--(other)
WHERE bank.name contains "BANK"
RETURN *
MATCH (vp:Person {name:"VLADIMIR PUTIN"}),(dt:Person {name:"DONALD J. TRUMP"})
MATCH path = allShortestPaths( (vp)-[*]-(dt) )
RETURN path
MATCH (p:Person)-[con:RELATED_TO]->()
WHERE con.connection CONTAINS "Nominee"
RETURN p.name, con.connection
ORDER BY split(p.name," ")[-1] DESC LIMIT 5;
MATCH (o:Organization)<-[:INVOLVED_WITH]-(p:Person)-[con:RELATED_TO]->()
WHERE con.connection CONTAINS "Nominee"
RETURN o,p
match (p1:Person), (p2:Person) where id(p1) < id(p2)
match p = shortestPath((p1)-[*]-(p2))
return p1,p2,length(p) order by length(p) desc limit 20
MATCH (p1:Person {name:"LEV LEVIEV"}), (p2:Person {name:"ROMA DOWNEY"})
MATCH path = allShortestPaths((p1)-[*]-(p2))
RETURN path
Content type
Image
Digest
Size
209 MB
Last updated
over 9 years ago
docker pull markhneedham/neo4j-3.1-trumpworld