Description: US Congress modeled as a Graph - bills, votes, members, and more
MATCH (s:State {code: $state})<-[:REPRESENTS]-(l:Legislator)
RETURN l.firstName+' '+l.lastName as name
This is for Neo4j version: 3.5,4.0
Rendered guide available via: :play https://guides.neo4j.com/sandbox/legis-graph/index.html
Unrendered guide: documentation/legis-graph.neo4j-browser-guide
Load graph data via the following:
Import flat files (csv, json, etc) using Cypher’s LOAD CSV
, APOC library, or other methods.
-
Drop the file into the
Files
section of a project in Neo4j Desktop. Then choose the option toCreate new DBMS from dump
option from the file options. -
Use the neo4j-admin tool to load data from the command line with the command below.
bin/neo4j-admin load --from data/legis-graph-40.dump [--database "database"]
-
Upload the dump file to Neo4j Aura via https://console.neo4j.io/#import-instructions